Query characters by game name - giantbomb API

Avatar image for pedroferreira
PedroFerreira

2

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Hello!

I'm really struggling to understand how I can retrieve characters, locations, concepts or objects related to a specific game name, using the giantbomb API. I am firstly using the "/games" endpoint to obtain the game ID of a specific game name, then I´m trying to use the "/characters" endpoint and filter characters by the obtained game ID. However, I keep receiving the same random characters unrelated to my game.

Could anybody give me some help on how, for example, I can query for the characters in "Portal 2" using the API?

Thank you so much for your help!