- This is correct.
_totalis how many streams are currently live for the given query. It gives you the limit for pagination. - I’m not seeing this behavior. You can call the API in a browser like this: https://api.twitch.tv/kraken/search/streams?q=dota2&limit=3&client_id=2w3di133kf30i7r9ai8b0i39zke4g3
- I’m also not seeing this behavior. Again, you can call this in a browser: https://api.twitch.tv/kraken/search/streams?q=dota2&limit=3&offset=10&client_id=2w3di133kf30i7r9ai8b0i39zke4g3
The code that you’ve shared has lexical scoping problems that are likely biting you. In particular, you’re overwriting the offset and url variables in multiple places. E.g. your offset is starting at 0 and incrementing by 1 each time.