@penguinpowered: Hey there!
Thanks for the specifics. Allow me to explain. A couple of things are going on here.
First, in general, future release dates blow. We have a "central" games database, that multiple sites pull data from. Since we don't allow empty fields, sometimes those fields come back with like: 2097-01-01 or some other random release date, that data people / publishers / data importers decided was appropriate. Of course, we don't have any insider information the public doesn't about real release dates, so sometimes our data team has to guess at that stuff. Believe me, I know this sucks, and we're sometimes stuck doing integrity checks on dates, and we filter before output too. A good rule of thumb might be, if the date is > 2+ years in the future, consider it wrong/inaccurate.
Next, this query: http://www.giantbomb.com/api/game/3030-44468/?api_key=<key> (looks good) is querying on "game". 3030 is code for game, and 44468 is the id of the game. In this query: http://www.giantbomb.com/api/releases/... you are querying on releases (which, are different from games). In the case of Draenor, since it's not out yet, it doesn't have associated releases (although, sometimes games DO have associated releases, but this one doesn't, yet). It's usually updated when our data team has that data. So the reason that it's missing from that release query is that no records exist yet (yea, I know that sucks).
I want to help you out on this. Is there a possibility that you can try querying games instead on that second query? http://www.giantbomb.com/api/game(s)/... (use plural if you want to pipe in multiple ids)? We actually return a `releases` field on the game entity, so it might provide what you are looking for.
I agree with you, on the nebulous release data, even on our production sites, we have to do secondary filtering on all of our output to account for that. Video Games is weird.
Let me know what else I can do to help you. Feel free to ping back here, I'm happy to help in any way that I can. Let's figure out how to get your app getting proper api results.
Log in to comment