diff --git a/public/API/ebk.php b/public/API/ebk.php index c2c3ba8539c21bdfca4bb828737eb16452680e09..b4a271400a608e558de443e0fd55ddb1e75d5c82 100644 --- a/public/API/ebk.php +++ b/public/API/ebk.php @@ -8,7 +8,7 @@ $responseJSON = []; $client = new Client(); $headers = [ - 'authorization' => 'Basic YW5kcm9pZDpUYVI2MHBFdHRZ', + 'authorization' => 'Basic ' + $ebayKleinanzeigenToken, 'user-agent' => 'okhttp/4.9.1', 'x-ebayk-app' => '4e10d7fd-6fef-4f87-afb0-b8ede2f494071636475109828', 'Host' => 'api.ebay-kleinanzeigen.de', diff --git a/public/API/lib/config.example.php b/public/API/lib/config.example.php index f0c3b8ea86ab4ee8f0f3b125e9e722819633473e..9438dd35c98bc4cc01af8457d861b0b2f28ddeb1 100644 --- a/public/API/lib/config.example.php +++ b/public/API/lib/config.example.php @@ -18,4 +18,5 @@ $S3AccessKey = ""; $S3SecretKey = ""; $S3BucketName = ""; -$ebayKleinanzeigenUserId = ""; \ No newline at end of file +$ebayKleinanzeigenUserId = ""; +$ebayKleinanzeigenToken = ""; # To get this token you have to sniff the HTTPS traffic from the app or decompile the app and find it. \ No newline at end of file