/Twitch-Java-API

A Java API for Twitch.tv REST API https://twitch.tv

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

Twitch Java API (TJA)

TJA is an asynchronous Java ported library of the Twitch REST API.

Pull requests welcome.

Adding TJA as a dependency

TJA currently uses Jitpack https://jitpack.io/#TheLimeGlass/Twitch-Java-API/VERSION

Maven

In your pom.xml add:

<repositories>
  <repository>
      <id>jitpack.io</id>
      <url>https://jitpack.io</url>
  </repository>
</repositories>

<dependency>
    <groupId>com.github.TheLimeGlass</groupId>
    <artifactId>Twitch-Java-API</artifactId>
    <version>VERSION</version>
</dependency>

Gradle

In your build.gradle add:

repositories {
  jcenter()
  maven {
    url 'https://jitpack.io'
  }
}

dependencies {
  compile 'com.github.TheLimeGlass:Twitch-Java-API:VERSION'
}

Check the link above for SBT and leiningen support.

Examples: https://github.com/TheLimeGlass/Twitch-Java-API/tree/master/src/test/java/me/limeglass/twitch

TODO

  • Built in rate limiter.