How I can get the online channels from an array?

Hello there! :smile: I’m new in this community
I’m working in an application using the Twitch JavaScript API, and I have a problem.
How I can get the online channels from an array?
Example:
I have an array where this contain a list of channels, and I want to select the online channels and return an array.

Thanks all

https://github.com/justintv/Twitch-API/blob/master/v3_resources/streams.md#get-streams

https://api.twitch.tv/kraken/streams?channel=ellohime,cohhcarnage
Returns an array with all queried streams that are currently live.

2 Likes

Thank you, this is perfect! :grinning:

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