Thanks. Looking up how to use the api now

EDIT:
on *:text:!hmm*:#:{
if ($nick == jimieo) {
var %twitchapi = https://api.twitch.tv/kraken/streams/jimieo
set %game $json(%twitchapi,stream,game)
}
}
So, I was trying this to see if I could get it to set the game as a variable (just to see if I could). I failed. Did I just miss something stupidly obvious.
My end goal is to be able to detect if my channel shows as live or not.