ykrasik's forum posts

Avatar image for ykrasik
ykrasik

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Thanks for your reply. Can you please just clarify - was this field removed? I'm certain it was returning release dates before.

Avatar image for ykrasik
ykrasik

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

I've been using the GiantBomb API for a while. I use 2 endpoints - 'games' & 'game'. For both these endpoints, the field 'original_release_date' almost always contained the release date of the game.

I've recently noticed that for most games this field now returns null, even for games for which in the past it returned values. I can't say how long ago this started happening, but it definitely did. I have an automated test that I run every once in a while to see that my API integration is correct, and that test started failing for this reason.

It looks like for most cases I can workaround by using the 'expected_release_year', 'expected_release_month' & 'expected_release_day' fields, which return non-null values (even for games which have already been released, which is slightly confusing).

Can anyone confirm that there were api or data changes on the side of GiantBomb?

Avatar image for ykrasik
ykrasik

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Hi,

I'm having some trouble fetching user reviews for a game. Here's what I'm doing, if anyone can please tell me what I'm doing wrong:

* Suppose I want to fetch user reviews for 'Alien: Isolation' for the PC.

1. Search for the game by title and platform: http://www.giantbomb.com/api/games?api_key=[key]&format=json&filter=name%3AAlien%3A+Isolation%2Cplatforms%3A94&field_list=api_detail_url

1.1. The reply contains the following apiDetailsUrl: http://www.giantbomb.com/api/game/3030-44296/

2. Get specific details from the api url: http://www.giantbomb.com/api/game/3030-44296/?api_key=[key]&format=json&field_list=id

2.1. The reply contains the following game_id: 44296

3. Get user reviews for game by id: http://www.giantbomb.com/api/user_reviews?api_key=[key]&format=json&game=44296

3.1 The results are empty. According to the API doc, adding &game=[game_id] should do exactly what I want. The game definitely has user reviews (http://www.giantbomb.com/alien-isolation/3030-44296/user-reviews/).

3.2 Also the API doc seems to be out of date: http://www.giantbomb.com/api/documentation#toc-0-43 One of the fields returned is called 'game'. First of all, it doesn't state whether 'game' is the title or the id of the game, but by trying a few different calls it seems that it's the title. However, in all the examples I tried, the field 'game' was never returned, and instead I got a field called 'wikiObject'. This is not mentioned in the doc anywhere.

3.3 I tried filtering by the game id with the following requests: &game=[game_id] or &filter:game=[game_id] or &filter:object=[game_id] or &filter:wikiObject=[game_id]. None of these worked.

Am I doing something completely wrong or is there a problem with the API?

Regards,

Yevgeny.