v2.1.0: new Site enum
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>