TwitchAPi (isOnline?)

118 Downloads

Project Offline!

What it does

This API makes it possible for you to check whether a Twitch Stream is online or offline.

How to use it

Import

Import the streamApi.jar in your project (like the craftbukkit/spigot.jar)

Set the Twitchuser

Set the the Twitchusername with: streamAPI stream = new streamAPI("TheNameOfTheStreamer");

Check

if(stream.isOnline()) { Führe etwas aus. }

Important

You must put the streamAPi.jar in your Plugins Folder!