Pulling Reviews for games

Avatar image for mldaj
mldaj

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By mldaj


Ok, so sorry to seem like an idiot but could someone either add here or point me to some sames for the following:

 

1) Pulling reviews for all games for a given platform

2) Pulling a review for a specific game

 

 

What I do not understand is how I get the ID for a given game to pull a review or just get all reviews for a pltform or game type.

 

ANy help is much appreciated :)

Avatar image for lordandrew
LordAndrew

14609

Forum Posts

98305

Wiki Points

0

Followers

Reviews: 0

User Lists: 36

#2  Edited By LordAndrew

A game resource exposes reviews if a review has been written. Each review has deck, description, publish_date, reviewer and score available. If you do not yet know the ID of the game, use the search resource to find it.

Platform resources do not list the games that are available on that platform, which means you can't determine which games are available on any given platform using the API unless you retrieve the data for every game (currently over 30000, I believe) and look at its platforms.

Avatar image for mldaj
mldaj

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3  Edited By mldaj

@LordAndrew:

Thank you for the help.  If you are using the Search API and are searching for Halo, how can you limit the search so it only looks for exactly Halo and not all games that have Halo in their name?

Avatar image for lordandrew
LordAndrew

14609

Forum Posts

98305

Wiki Points

0

Followers

Reviews: 0

User Lists: 36

#4  Edited By LordAndrew
@mldaj: You can't, because that would make too much sense. :P

Unfortunately, the search function on the site and the search function in API do not work the same way.
Avatar image for mldaj
mldaj

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#5  Edited By mldaj

@LordAndrew:

Thank you again for the help. 

Avatar image for mldaj
mldaj

6

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#6  Edited By mldaj
Avatar image for pkjr92
pkjr92

71

Forum Posts

14

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#7  Edited By pkjr92
Avatar image for lordandrew
LordAndrew

14609

Forum Posts

98305

Wiki Points

0

Followers

Reviews: 0

User Lists: 36

#8  Edited By LordAndrew
Avatar image for elizeu
elizeu

2

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#9  Edited By elizeu

This issue seems to be fixed, however, considering I'm new to the API I might be missing a step.

I get the game info from its api_detail_url, for example: api.giantbomb.com/game/17463/?api_key=KEY

The response is fine and contains the field:

... <number_of_user_reviews>3</number_of_user_reviews>...

However, the field reviews is empty. How can I get to the individual reviews for a game without its ID?

Thanks in advance.

Avatar image for nixnodes
nixnodes

5

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#10  Edited By nixnodes

#9 Posted by elizeu (1 posts) - 1 year, 2 months ago

This issue seems to be fixed, however, considering I'm new to the API I might be missing a step.

I get the game info from its api_detail_url, for example: api.giantbomb.com/game/17463/?api_key=KEY

The response is fine and contains the field:

... <number_of_user_reviews>3</number_of_user_reviews>...

However, the field reviews is empty. How can I get to the individual reviews for a game without its ID?

Thanks in advance.

I'm wondering the same thing..