CheapShark - Game Deals

免费
通过 CheapShark | 已更新 לפני חודש | Gaming
人气

9.5 / 10

延迟

302ms

服务等级

100%

Health Check

N/A

返回所有讨论

AAA parameter does not have effect

Rapid account: Jdeboysere
jdeboysere
לפני שנתיים

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 לפני שנתיים

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 לפני שנתיים

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!

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论