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
הצטרף לדיון - הוסף תגובה למטה:
Hello,
Thanks for your help.
Shouldn’t you fix your endpoint on RapidApi in this case? I took the generated code from there…
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!