java-sdk icon indicating copy to clipboard operation
java-sdk copied to clipboard

An API wrapper for https://top.gg/api/docs that works in Java

Results 10 java-sdk issues
Sort by recently updated
recently updated
newest added

Version: 2.1.2 `DiscordBotListAPI#setStats` is no longer properly updating my server counter. It is stuck at 613, while I can see in my application logs that it sits at 653 (at...

Im getting a Unresolved dependency: `com.github.DiscordBotList:DBL-Java-Library:jar:2.1.1` error from maven but my dependency xml structure follows what is on jitpack exactly. I also have the jitpack repository as well https://paste.ofcode.org/55mcCRchgxRj4tzajjN23U

**Expected Behavior** That your api is working. **Observed Behavior** Instead your API is returning this: ``` org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]...

Added lombok to simplify some code as well as documentation in the class `DiscordBotListAPI` As well as that, the annotation `@Deprecation` on `getVoters()` has been removed, but a warning has...

## The problem When I checked the code, I noticed, that `setStats` requires you to provide the Server count as an Integer. On the other hand, does `getServerCount()` return the...

When you attempt to set the stats of your bot with an invalid token, there is no indication that your token is invalid. It would be helpful to know whether...

`setStats` creates a `ResponseTransformer` that attempts to deserialise the response to `java.lang.Void`: ```java private CompletionStage setStats(JSONObject jsonBody) { HttpUrl url = baseUrl.newBuilder() .addPathSegment("bots") .addPathSegment(botId) .addPathSegment("stats") .build(); return post(url, jsonBody, Void.class);...

Updated Json version from 20180130 to 20220320 and Gson version from 2.8.5 to 2.8.9