CheapShark - Game Deals

БЕСПЛАТНО
От CheapShark | Обновлено 한 달 전 | Gaming
Популярность

9.5 / 10

Задержка

302ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

AAA parameter does not have effect

Rapid account: Jdeboysere
jdeboysere
2년 전

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 2년 전

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 2년 전

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!

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии