melroy89 / metacritic_api

PHP Metacritic API - Mirror from my GitLab

Home Page:https://gitlab.melroy.org/melroy/metacritic_api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game name not pulling in the json output?

DarrenBell opened this issue · comments

Hi there,

I attempted the example and it seems that the game name does not show in the output:

Json Output: 

{"name":"","metascritic_score":89,"users_score":8.9,"rating":"M","genres":"Role-Playing","developers":"Black Isle Studios","publishers":"Interplay","release_date":"Sep 30, 1997","thumbnail_url":"","cheat_url":"http:\/\/www.gamefaqs.com\/console\/pc\/code\/197289.html"}

The game I searched for was "Fallout"

Hi,

Thanks for your report. I guess the website as been updated, so I need to parse on another element. I will look at it ASAP.

Kind regards,
Melroy

I do not know what happened, but I just see the name in my output:

{"name":"The Elder Scrolls V: Skyrim","metascritic_score":94,"users_score":8.2,"rating":"M","genres":"Western-Style","developers":"Bethesda Game Studios","publishers":"Bethesda Softworks","release_date":"Nov 10, 2011","thumbnail_url":"","cheat_url":"http:\/\/www.gamefaqs.com\/console\/pc\/code\/615805.html"}