#1 Posted by Shambla (2 posts) -

Currently I can make API calls to the effect of "show me all games that will be released in August 2014". I've noticed a few erroneous dates, however. For example, Hyrule Warriors shows up in my above call with a date of August 14th, yet the game doesn't release in North America until September 26th (it seems it just grabs the first release date out of all regions). Release date information for all regions is stored by Giant Bomb (http://www.giantbomb.com/hyrule-warriors/3030-44782/releases/) but is not exposed via the API.

It would be nice to have something along the lines of:

<expected_releases>
<expected_release>
<region>Japan</region>
<year>2014</year>
<month>8</month>
<day>14</day>
</expected_release>
...

A simpler alternative would have the API accept a region code (NA, JP, etc.) and use that for the release date filtering.

#2 Edited by LordAndrew (14426 posts) -

@shambla: www.giantbomb.com/api/releases/?filter=game:44782,region:1 will give you all North American releases of Hyrule Warriors.

#3 Edited by Shambla (2 posts) -

Ah, I didn't even see the /releases endpoint. I've been using /games. I'm having some issues trying to use it however:

This returns 20 results - http://www.giantbomb.com/api/games/?api_key=mykey&filter=expected_release_year:2014,expected_release_month:8

This returns ~64,000 results: http://www.giantbomb.com/api/releases/?api_key=mykey&filter=expected_release_year:2014,expected_release_month:8

Doesn't seem like it's picking up the filter?

#4 Posted by LordAndrew (14426 posts) -

@shambla: Hm. Yeah, looks like a bug. As documented, it should work.

#5 Edited by demandedcross (3 posts) -

This post helped me with something I was struggling with so thanks, is there somewhere I can find a list of all the regions and their corresponding number?

Edit: Nevermind, I used an api call to list them all.