Hi,
I have been trying to use the API to do some basic queries but I can't seem to get my head around the filtering.
No matter what I try all platforms are returned...For example I would expect both these to filter based on the SNES platform.
http://www.giantbomb.com/api/search/?api_key=MYKEY&format=xml&resources=game&query=super%20mario%20kart&field_list=name,platforms&platforms=9
http://www.giantbomb.com/api/search/?api_key=MYKEY&format=xml&resources=game&query=super%20mario%20kart&field_list=name,platforms&filter=platforms:9
I also tried a basic call to the games endpoint with similar results. i.e.
http://www.giantbomb.com/api/games/?api_key=MYKEY&platforms=9
http://www.giantbomb.com/api/games/?api_key=MYKEY&filter=platforms:9
Am I missing something basic or does the API just not work as documented here http://www.giantbomb.com/api/documentation#toc-0-15
It would seem from that either "platforms=X" or "filter=platforms:X" should work.
Thanks,
Fraser
Log in to comment