JavaBotBlockAPI

A Java Wrapper for the BotBlock.org API, supporting all API endpoints of it.

Javadocs

Below can you find Javadocs for each module.

Installation

Please replace {version} with the latest build available on CodeMC.

Gradle

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

dependencies{
    // The Core and Request modules are always required.
    compile group: 'org.botblock', name: 'javabotblockapi-core', version: '{version}'
    compile group: 'org.botblock', name: 'javabotblockapi-request', version: '{version}'
    
    // Javacord module for direct support with Javacord.
    compile group: 'org.botblock', name: 'javabotblockapi-javacord', version: '{version}'
    
    // JDA module for direct support with JDA.
    compile group: 'org.botblock', name: 'javabotblockapi-jda', version: '{version}'
}

Maven

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

<dependencies>
    <!-- The Core module is always required. -->
    <dependency>
        <groupId>org.botblock</groupId>
        <artifactId>javabotblockapi-core</artifactId>
        <version>{version}</version>
    </dependency>
    <!-- The Request module is always required. -->
    <dependency>
        <groupId>org.botblock</groupId>
        <artifactId>javabotblockapi-request</artifactId>
        <version>{version}</version>
    </dependency>
    <!-- Javacord module for direct support with Javacord. -->
    <dependency>
        <groupId>org.botblock</groupId>
        <artifactId>javabotblockapi-javacord</artifactId>
        <version>{version}</version>
    </dependency>
    <!-- JDA module for direct support with JDA. -->
    <dependency>
        <groupId>org.botblock</groupId>
        <artifactId>javabotblockapi-jda</artifactId>
        <version>{version}</version>
    </dependency>
</dependencies>