Hello there,
For a Discord bot I’m working on, users requested to be able to retrieve online streams that don’t have a set game. I know it’s easy to retrieve streams that are currently playing a game, but I couldn’t find how to get those with no game set.
After searching on my side, this was also the (only) solution I’ve found. However, considering my application is doing lots of requests per second, having to go through this over everything else may be too consuming and I think it’d slow down my bot too much.
I guess I’ll skip that for now, and maybe one day there will be easier ways to do this.
Your bot shouldn’t be hitting the streams api more than ~once a minute due to caching across the board (as in, one full iteration of the streams api). Issuing a ton of requests to the streams api will just return the same results since output is cached for a duration.