Skip to content

Users

The UsersClient provides access to Modrinth users.

Access it through the main Modrinth client:

modrinth.users()

Fetch a user by their ID or username:

User user = modrinth.users().get("Geometrically");

Both Modrinth user IDs and usernames are supported.

Fetch multiple users at once by their IDs:

List<User> users = modrinth.users().getMany(
"user-id-1",
"user-id-2"
);