More specifically, if the stream that I am currently watching has gone offline
Make a request to https://api.twitch.tv/kraken/streams/channel_that_you_are_watching, parse the JSON, and test the stream
property. A similar question can be found here.
1 Like