Package org.botblock.javabotblockapi.requests

This is the Request module which is used to provide support for POST and GET requests to/from the BotBlock API.
When posting the Guild count is this module a requirement! It depends on the core module.

Installation

Please replace API_VERSION with the latest release on Bintray.

Gradle (recommended)


 repositories{
     maven{ url = 'https://repo.codemc.io/repository/maven-public' }
 }

 dependencies{
     compile group: 'org.botblock', name: 'javabotblockapi-core', version: 'API_VERSION'
     compile group: 'org.botblock', name: 'javabotblockapi-request', version: 'API_VERSION'
 }
 

Maven


 <repositories>
     <repository>
         <id>codemc</id>
         <name>CodeMC-Nexus</name>
         <url>https://repo.codemc.io/repository/maven-public</url>
     </repository>
 </repositories>

 <dependencies>
     <dependency>
         <groupId>org.botblock</groupId>
         <artifactId>javabotblockapi-core</artifactId>
         <version>API_VERSION</version>
     </dependency>
     <dependency>
         <groupId>org.botblock</groupId>
         <artifactId>javabotblockapi-request</artifactId>
         <version>API_VERSION</version>
     </dependency>
 </dependencies>
 

Manual

We do not recommend using jar files directly and instead use one of the above dependency management systems.

If you still want to do it manually, or can't use one of the other option, head over to the GitHub releases page or to the Bintray release page and download the jar files from there.

Note that you will not receive any support when using this method.