The URL /game does not work

Avatar image for bruno1727
bruno1727

3

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By bruno1727

Hi guys, i using the URL
https://www.giantbomb.com/api/game/?api_key=[KEY]&format=json&field_list=id,genre,theme

But the webservice is returning me error 404. When I put /games it work, but I'm not allowed to get the theme and the genre as I want.

Anyone know whats happen?

Avatar image for chaser324
chaser324

9416

Forum Posts

14945

Wiki Points

0

Followers

Reviews: 1

User Lists: 15

#2  Edited By chaser324  Moderator

I'm not clear on what you're trying to do, but I don't think it's possible. If you want a list of games, you need to hit the /games resource. To get a single particular game, you would use the /game endpoint with a particular game's ID like for example https://www.giantbomb.com/api/game/3030-1/?api_key=[KEY]&format=json (you can get this URL from the api_detail_url entry in the results in /games or /search).

Avatar image for bruno1727
bruno1727

3

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3  Edited By bruno1727

Huum I understood, so the /game endpoint is used for a particular game. Let me explain what im trying to do, i just need a variety of games with the fields genre and theme, I can do this using /games endpoint, or just with /game endpoint?

Sorry if the english is bad im from brazil ;p