getProfile

@GET(value = "/session/minecraft/profile/{uuid}")
abstract suspend fun getProfile(@Path(value = "uuid") uuid: String): PlayerProfile

Retrieves the player's profile from the Mojang session server using their UUID.

Return

The PlayerProfile containing detailed player information such as id, name, skin URL, cape URL, and skin model type.

Parameters

uuid

The UUID of the player whose profile is to be retrieved.