The JSON parser West used comes from here:

http://hawkee.com/snippet/10194/


And here's how to do it:
Code:
alias twitch_stream_game {
  ;; Retrieve and parse the json
  JSONOpen -ud Twitch_Stream_Game https://api.twitch.tv/kraken/channels/ $+ $1

  ;; return the game
  return $json(Twitch_Stream_Game, game)
}


Code:
;; "The Binding of Issac"
//echo -a $twitch_stream_game(anubisxhades)


Last edited by FroggieDaFrog; 19/01/15 08:20 PM.

I am SReject
My Stuff