HELIX/PAGINATION random stream

Hello everyone,

I try to find a way getting all stream of a language and game.
So i use this https://api.twitch.tv/helix/streams?game_id=XXX&language=XXX&first=100
But i got only the first 100 streams.

With the old API we could do https://api.twitch.tv/kraken/streams?game_id=XXX&language=XXX&limit=1&offset=%RAND%`
with the %RAND% = rand(0,ALL STREAM OF THE GAME);

But with the new one we need to work with pagination and cursor getting worst and worst load time, example for getting all minecraft stream of a language we need more than 120s :frowning:

Someone have a solution, thank you by advence !
(Sorry for my english, i’m french)

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