If you’re willing to use node.js, you can send a cURL request to https://api.twitch.tv/kraken/streams/:channel, parse the received JSON response, and check if the stream is null. If the stream isn’t live, it will be null.
If you’re willing to use node.js, you can send a cURL request to https://api.twitch.tv/kraken/streams/:channel, parse the received JSON response, and check if the stream is null. If the stream isn’t live, it will be null.