Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Kotlin-Discord/PluralKot

Repository files navigation

PluralKot

Discord: Click here Release Snapshot

This project is a simple API wrapper around the PluralKit API. It's intended to take the low-level work out of programmatic access for PluralKit data.

Getting Started

  • Maven repo: https://maven.kotlindiscord.com/repository/maven-public/
  • Maven coordinates: com.kotlindiscord.pluralkot:PluralKot:VERSION

Usage

This library simply abstract the routes provided by the PluralKit API. Take a look at the documentation comments in the PluralKit class for in-depth information, or make use of your IDE's autocomplete for now.

suspend fun main() {
    val pk = PluralKit(SYSTEM_KEY)
    val mySystem = pk.system()

    println("My system: ${mySystem.id}")
}