Get random stream under a certain view count

Hi all,

I am making an app designed to promote “small” streamers and I would like to feature an embeded stream on the landing page that pulls a random stream from any game category with a view count under 10.

Is there currently a way to cycle through all game categories?

Very new to APIs and coding in general. Any help is appreciated!

You’d have to get ALL live streams

And iterate over each page and then filter once you have collected all active streams.

Twitch doesn’t provide this as a ffilter on the API itself

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