Teams
1. The Teams Client
Section titled “1. The Teams Client”The TeamsClient provides access to Modrinth teams and their members.
Access it through the main Modrinth client:
modrinth.teams()2. Getting a Team
Section titled “2. Getting a Team”Fetch a team by its ID:
Team team = modrinth.teams().get("team-id");val team = modrinth.teams().get("team-id")3. Getting Multiple Teams
Section titled “3. Getting Multiple Teams”Fetch multiple teams at once:
List<Team> teams = modrinth.teams().getMany( "team-id-1", "team-id-2");val teams = modrinth.teams().getMany( "team-id-1", "team-id-2")4. Getting Team Members
Section titled “4. Getting Team Members”Fetch all members of a team:
List<TeamMember> members = modrinth.teams().members("team-id");val members = modrinth.teams().members("team-id")