Try using “https://api.twitch.tv/kraken/streams/test_channel”, if a stream is offline then the ‘stream’ value is simply null, otherwise it is the stream object.
Try using “https://api.twitch.tv/kraken/streams/test_channel”, if a stream is offline then the ‘stream’ value is simply null, otherwise it is the stream object.