API v1.1/Games/ByGameName ignores filter[platform]
Posted: Fri Jun 11, 2021 12:01 pm
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.
Using the web interface and adding the SNES platform, only 1 result is returned
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):
Am I doing something wrong with the API? Is this a bug? Thanks a lot for your help.
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
Code: Select all
https://thegamesdb.net/search.php?name=batman+forever&platform_id%5B%5D=6
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