The Top.gg Java SDK is a community-maintained library that wraps the Top.gg REST API for Java applications. It supports posting your bot’s server count and retrieving bot and user information. It is not maintained by the Top.gg core team.Documentation Index
Fetch the complete documentation index at: https://docs.top.gg/llms.txt
Use this file to discover all available pages before exploring further.
Installation
The SDK is published through JitPack. ReplaceVERSION with the latest release tag or commit hash listed on the releases page.
Maven
Add the JitPack repository and the dependency to yourpom.xml:
Gradle
Add the JitPack repository and the dependency to yourbuild.gradle:
What the library supports
- Posting your bot’s server count to Top.gg
- Retrieving bot information and server counts
- Fetching Top.gg user profiles
- Checking if a specific user has voted