I'd like to do some experimenting with the Gamespot API, so I have registered an account and grabbed an API key. I'm able to retrieve data in XML format, but I can't find how to switch the format to JSON. Could someone help me with this?
I'd like to do some experimenting with the Gamespot API, so I have registered an account and grabbed an API key. I'm able to retrieve data in XML format, but I can't find how to switch the format to JSON. Could someone help me with this?
Thank you very much, it's working now!
May I ask you another question? I'd like to get the top games by score, but the query `reviews?score:desc` is not working. Am I missing something or is not possibile to achieve this?
You are right, I have copy-pasted a wrong string. Anyway, tried with 'http://www.gamespot.com/api/reviews?format=json&sort=score:desc&api_key=xxxxxxxxxx' with no luck: I get the reviews in the default order (sorted by publish_date I guess).
The sort by score is working now, thank you very much @wemmick!
Can you explain to me how to use the filter by publish_date? I can't figure out how to filter the reviews published between two dates...
Also, do you think you can fix/add the filter by platform? Something like `http://www.gamespot.com/api/reviews?format=json&filter=platform:PC&api_key=xxxxxxxxxx` to get all the PC game reviews would be great.
Please Log In to post.
Log in to comment