It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
immi101: you can avoid the regional blocking for all website APIs by setting the cookie 'gog_lc' to something different than 'DE_EUR_de-DE', like: 'US_USD_en-US'.
The IP-based blocking only kicks in if you actually attempt to buy a game or if you don't provide the cookie in your request.
The galaxy APIs for getting product/build information don't do any regional blocking afaik.
avatar
Yepoleb: I'm already doing that to get USD prices. It's not working anymore.
hmm, seems to be working here: (looking for the Dying Light entries)

$ curl -s 'https://www.gog.com/games/ajax/filtered?mediaType=game&page=1&search=dying&sort=popularity' -H 'Cookie: gog_lc=DE_EUR_en-US' | grep -o '"totalGamesFound":[0-9]*'
"totalGamesFound":0

$ curl -s 'https://www.gog.com/games/ajax/filtered?mediaType=game&page=1&search=dying&sort=popularity' -H 'Cookie: gog_lc=US_USD_en-US' | grep -o '"totalGamesFound":[0-9]*'
"totalGamesFound":6
avatar
immi101: hmm, seems to be working here: (looking for the Dying Light entries)
You're right, I forgot to set the locale on the global API instance. Should be fixed now.
Post edited 10 hours ago by Yepoleb