Something went wrong. Try again later

myvault

This user has not updated recently.

8 0 0 0
Forum Posts Wiki Points Following Followers

myvault's forum posts

Avatar image for myvault
myvault

8

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

when using the API to get the game details we are not able to see the critic score.

This is the code for getting the details is this 1 and this does not show the critic review. The code below is used for that.

$rawData = file_get_contents("http://api.giantbomb.com/game/".$game_id."/?api_key=XXXXXXXXXXXXXXXXXXXX&field_list=name,id,description,original_release_date,genres,platforms&format=json");

$gameInfo = json_decode($rawData);

print_r($gameInfo);

But when we are using this code to get the critic review using the same game id the review of a different game is displayed.

$reviewData = file_get_contents("http://api.giantbomb.com/review/".$game_id."/?api_key=XXXXXXXXXXXXXXXXXXXXXXXXXX&format=json";);

$scoreInfo = json_decode($reviewData);

print_r($scoreInfo);

can anyone tell me what i'm doing wrong ?

Avatar image for myvault
myvault

8

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

the web-site show that the game have a critic score of 4 stars but if i use the API to get this access it show me no score for this game

can not find the reason why.

any idea?

Avatar image for myvault
myvault

8

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

i'm getting a Dec-31-1969 as a release date for games and as well i'm not able to get critic score from the API

any idea what i'm doing wrong ?

Avatar image for myvault
myvault

8

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

I'm trying to get the critic score using the API access but it seem that it's not available.

any idea why this is happening?