Good idea Epoch, and I'm sure you know how to Shade but here's the coding I used for my Livestreamer program to detect if their online.
$Url = 'https://api.twitch.tv/kraken/streams/b4nny'
If StringInStr($Url, '"stream":null') Then
Set b4nny stream to = offline