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.
Log in to comment