Skip to content

discord-jar/experiments.jar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordExperiments

DiscordExperiments is a tool that decodes the information from the experiements endpoint of the Discord API automatically and turns it into Java objects.

Usage

When using the library, I'd appreciate if you could leave a piece of credit to this repositiory somewhere on your site/application!

Documentation

Maven

Repository:

<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>

Dependency:

<dependency>
  <groupId>com.github.seailz</groupId>
  <artifactId>discordexperiments</artifactId>
  <version>1.0</version>
</dependency>

Gradle

Repository:

allprojects {
  repositories {
	maven { url 'https://jitpack.io' }
	}
}

Dependency:

dependencies {
  implementation 'com.github.seailz:discordexperiments:1.0'
}

Here's a simple guide on using this library:

  • Call the DiscordExperiments#getExperiments method.
import com.seailz.experiments.DiscordExperiments;

...
List<GuildExperiment> exp = DiscordExperiments.getExperiments();

and that's it!

REST API

Because I know not everyone uses Java, I'm also offering a REST API that allows you to retrieve simplified JSON data instead of the complicated JSON data you'd normally get from https://discord.com/api/v10/experiments?with_guild_experiments=true. Please click here for more info!

About

Simple tool to decode Discord experiments from the raw API and turn them into Java objects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages