Skip to content

v2.1.0: new Site enum

Compare
Choose a tag to compare
@Andre601 Andre601 released this 31 Jul 10:39
· 858 commits to master since this release

There is a new Site enum that can be used in combination with the get methods or the BotBlockAPI.

Example:

BotBlockAPI api = new BotBlockAPI.Builder()
    .addAuthToken(Site.LBOTS_ORG, "MyT0kEn123")
    .build();

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.1.0'
}

Maven

<repositories>
  <repository>
    <id>jcenter</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.1.0</version>
  </dependency>
</dependencies>