title: Checking if a Twitch.tv stream is online and receive viewer counts using Pircbot
body: <p>I'm working on my IRC Bot for Twitch.tv (pircbot API) and want to make the bot connect automatically to the stream's chat as soon the stream is going live.</p>
  
  <p>I've found a Twitch API (<a href="https://github.com/justintv/Twitch-API" rel="nofollow">here</a>), but I have no clue
  how I can implement this into my bot since I'm pretty new to Java.</p>
  
  <p>Would be cool if someone could tell me any hints on how I could retrieve if a stream is online and how I can check the amount of viewers watching right now.</p>
  
  <p>Greetings</p>