Skip to content

NamelessMC/Nameless-Java-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nameless-Java-API

Java library for interacting with a NamelessMC website. It is used by for example the NamelessMC Minecraft server plugin and Nameless-Link Discord bot.

Install to local maven repository

We don't publish builds to maven central (yet). You will need to build and install this project locally.

OpenJDK 11, git and maven should be installed. Run in a terminal:

git clone https://github.com/NamelessMC/Nameless-Java-API
cd Nameless-Java-API
mvn install

Include as dependency

<dependency>
    <groupId>com.namelessmc</groupId>
    <artifactId>java-api</artifactId>
    <version>canary</version>
</dependency>

Usage

Create an API instance:

String apiUrl = "";
String apiKey = "";
NamelessAPI api = NamelessAPI.builder(apiUrl, apiKey).build();

About

The official Java library for interacting with NamelessMC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages