Skip to content

LuckPerms/rest-api-java-client

Repository files navigation

LuckPerms REST API - Java Client

The LuckPerms REST API allows developers to query LuckPerms data using HTTP calls.

This library allows developers to make these HTTP calls easily using a familiar Java API. :)

Usage

Add a dependency to your Maven/Gradle buildscript:

e.g.

compileOnly 'net.luckperms:rest-api-client:0.1'
<dependency>
    <groupId>net.luckperms</groupId>
    <artifactId>rest-api-client</artifactId>
    <version>0.1</version>
</dependency>

Then, create a new client and start making calls:

LuckPermsClient client = LuckPermsClient.builder()
        .baseUrl("http://localhost:8080")
        .apiKey("abc123")
        .build();
        
Response<Group> response = client.groups().get("admin").execute();

About

A Java client for the LuckPerms REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages