Just playing around with the API a little to procrastinate..
I'm not sure if I'm doing something wrong, but if I execute something like
/search/?query=Fallout%203&resources=game&field_list=name,id,platform
I only get the name and id returned in the results, no platform data.
Doing a direct query on the object using
/game/20405/?field_list=name,id,platform
seems to work...
Missing fields from search?
Any word on this? Wouldn't it be very helpful to add platform as a query argument of some sort? I'm working an emulator plugin for Plex and I use search to get the game ID for a given game name. If I could pass platform as an argument, I could get the correct game id.
This is especially relevant for games released on several platforms (Madden, NBA Live, etc etc).
Anybody have a good way to do this (besides iterating on all the results' game details)?
I do however agree that adding more filter options to search would be beneficial. We're working on some changes internally to search that will make that kind of thing possible. Once we get it updated, we'll be able to work those filters into the API as well.
Please Log In to post.
Log in to comment