Skip to content

Commit

Permalink
fix: update the Mojang API endpoint (#413)
Browse files Browse the repository at this point in the history
As of 23w42a, the "Usernames to UUIDs" endpoint moved to:
POST https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname
  • Loading branch information
Tomut0 committed Jan 8, 2024
1 parent 1375679 commit d4d144f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public class UUIDFetcher implements Callable<Map<String, UUID>> {

private static final double PROFILES_PER_REQUEST = 100;
private static final String PROFILE_URL = "https://api.mojang.com/profiles/minecraft";
private static final String PROFILE_URL = "https://api.minecraftservices.com/minecraft/profile/lookup/bulk/byname";
private final Gson gson = new Gson();
private final List<String> names;
private final boolean rateLimiting;
Expand Down

0 comments on commit d4d144f

Please sign in to comment.