[Request] All Games, Get Game by ID

Hello, I’m looking to begin work on a new project.

I’m needing to request all the games being streamed on Twitch at any point in time, most popular all the way down to a game with a single streamer. Ideally, I’d like to make just one call an hour.

I know I can call the top games and use offset until I reach the end, but the _total changes every time and I’d like to catch the data all at one exact point in time. And I’d rather make one call requesting essential information than multiple calls.

Ideally, I’m looking for a response like:

{  
   "_total":1582,
   "games":[  
      {  
         "game":{  
            "popularity":106717,
            "_id":493057,
         },
         "viewers":106359,
         "channels":2765
      }
   ]
}

So one call would show that information, but for the 1582 games being streamed at that point in time.

If I don’t have the links or details of a game stored, I’d just request that info for the game via ID…
I just realized as I was writing that we cannot do that with the API (unless I’m missing something).

That would be a helpful request as well.

So I suppose requesting the same response as Top Games without a limit and pagination until Getting a game by ID is a thing would be amazing.

Thank you for your time. :slight_smile:

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