Skip to content

Official SDK

The Color Blurple edited this page Jun 11, 2024 · 1 revision

Official SDK

There is an official JVM-Based SDK, the code located here.

If you dont want to/can't use the SDK, you can send raw HTTP(S) requests and save cookies in a file or the program itself.
The REST API is explained here, along with a bit of Python, Javascript, and cURL code.

Installing

Jitpack

Add this line to your build.gradle file;

implementation 'com.github.OneDSix:1d6-api:sdk:[VERSION]'

Check the [VERSION] to the newest one and you're done.

Compiling

TODO

Examples

All examples are in at least Java, some examples are in Kotlin and Scala as well.

Logging in

Java
Kotlin

Contributing

TODO

Clone this wiki locally