Filtering games by platform doesn't appear to work at all.

Avatar image for fragglerook
fragglerook

5

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

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

Avatar image for fragglerook
fragglerook

5

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Sorry I meant to post this in the API section...not sure why it put it in GD :(