API v1.1/Games/ByGameName ignores filter[platform]

Need help with your application? Ask here.
Post Reply
Wintermute0110
Posts: 4
Joined: Thu Jun 27, 2019 9:53 am

API v1.1/Games/ByGameName ignores filter[platform]

Post by Wintermute0110 »

Hi,

A user of Advanced Emulator Launcher has reported that platform is ignored when looking for games. For example, searching for "batman forever" for all platforms using the web interface returns 11 results.

Code: Select all

https://thegamesdb.net/search.php?name=batman+forever&platform_id%5B%5D=0
Using the web interface and adding the SNES platform, only 1 result is returned

Code: Select all

https://thegamesdb.net/search.php?name=batman+forever&platform_id%5B%5D=6
However, when using the API always 11 results are returned. I am using these URLs and both return 11 results (I have chopped the public key for convenience):

Code: Select all

https://api.thegamesdb.net/v1.1/Games/ByGameName?apikey=828be...&name=batman+forever&filter[platform]=0

https://api.thegamesdb.net/v1.1/Games/ByGameName?apikey=828be...&name=batman+forever&filter[platform]=6
Am I doing something wrong with the API? Is this a bug? Thanks a lot for your help.

User avatar
Zer0xFF
Posts: 327
Joined: Fri Apr 20, 2018 9:18 am

Re: API v1.1/Games/ByGameName ignores filter[platform]

Post by Zer0xFF »

Hi Winter,

Thanks for letting us know,
You'd be glad to know a fix is currently in place.
Regards
Zer0xFF

Post Reply