I am using “GET https://api.twitch.tv/helix/streams” to grab the top streams on twitch. How can I do some kind of region filtering so that I do not return any streams unavailable to my user?
You can filter results as documented here: https://dev.twitch.tv/docs/api/reference/#get-streams. The language
parameter is most likely interesting to your use-case.
1 Like
I don’t think that will work entirely, as I know people from non-english-speaking countries will still watch english streams. Also, I know user streams are not regionally blocked, but there may be some Twitch sponsored streams that are blocked by region
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.