CheapShark - Game Deals

KOSTENLOS
Durch CheapShark | Aktualisiert hace 24 días | Gaming
Popularität

9.5 / 10

Latenz

303ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

AAA parameter does not have effect

Rapid account: Jdeboysere
jdeboysere
hace 2 años

Hello there,

The AAA parameter does not have effect if set on Yes (same as No or Do not include).
Same thing for the Desc parameter. Maybe more…

Is it me or is it buggy? Tested on https://rapidapi.com/CheapShark/api/cheapshark-game-deals/

According to https://www.cheapshark.com/browse?storeID=0&sortBy=Recent&steamRating=70&AAA=1, I should have Frostpunk as first result, but I always have We Are The Dwarves…

curl_setopt_array($curl, [
CURLOPT_URL => “https://cheapshark-game-deals.p.rapidapi.com/deals?lowerPrice=0&steamRating=70&output=json&steamworks=0&sortBy=recent&AAA=true&pageSize=60&exact=0&upperPrice=50&pageNumber=0&onSale=0&metacritic=0&storeID[0]=1”,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “GET”,
CURLOPT_HTTPHEADER => [
“X-RapidAPI-Host: cheapshark-game-deals.p.rapidapi.com”,
“X-RapidAPI-Key: xxx”
],
]);

===> Screenshot

Rapid account: Jdeboysere
jdeboysere Commented hace 2 años

Hello,

Thanks for your help.

Shouldn’t you fix your endpoint on RapidApi in this case? I took the generated code from there…

Rapid account: Cheap Shark
CheapShark Commented hace 2 años

Hi there, the issue you are seeing is due to using “true” for the flag value instead of “1”. Any boolean parameters in the URL can be set to 0 (false) or 1 (true). Any other value will be ignored (and use default value instead). Hope this helps!

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen