How to know which game id belongs to which game?

Hey, guys. I’m using the new API. I have figured out everything apart from not knowing what id belongs to which game. I want to get all streams of a specific game, for example fortnite, Fifa etc. But i can’t seem to figure out how to query this.
I’ve seen in a couple of other posts that people use game_id but how do i know which id belongs to which game? I couldn’t find any reference to this in the docs.

Thanks in advance.

You need the games API

So lookup “fortnite” to get it’s game_id then pass that to the streams API

Hey, thanks for pointing me in the right direction. So from what you suggest i can’t query streams for a specific game by it’s name right? I have to get the game’s ID first? Thanks

Correct the streams endpoint expects game ID

So yes you have to get the game ID first

1 Like

Thanks man, appreciate it. It was so confusing to begin with.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.