DiscordExperiments is a tool that decodes the information from the experiements endpoint of the Discord API automatically and turns it into Java objects.
When using the library, I'd appreciate if you could leave a piece of credit to this repositiory somewhere on your site/application!
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>
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!
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!