Headers:
-
Authorization: nadeo_v1 t={token}An access token for theNadeoLiveServicesaudience
Service provided by Openplanet
Get player map record in a club
GET
https://live-services.trackmania.nadeo.live/api/token/leaderboard/group/{groupUid}/map/{mapUid}/club/{clubId}
Headers:
Authorization: nadeo_v1 t={token}
An access token for the NadeoLiveServices audience
Path parameters:
{groupUid}
string
The ID of the group/season
*
{mapUid}
string
The UID of the map
*
{clubId}
string
The ID of the club
*
Gets the currently authenticated user's map record and leaderboard position in reference to a club.
Remarks:
groupUid "Personal_Best" can be used to get the global leaderboard.position may incorrectly be shown as 1 (implying the user has world record even when they don't). On subsequent requests, this value is corrected to the actual position of the player in the club.Example request:
GET https://live-services.trackmania.nadeo.live/api/token/leaderboard/group/Personal_Best/map/Kn63nCh9bkaRHcZZsrtf_KcLMH2/club/9
Example response:
{
"groupUid": "Personal_Best",
"mapUid": "Kn63nCh9bkaRHcZZsrtf_KcLMH2",
"score": 19976,
"clubId": 9,
"position": 80
}
If the groupUid is invalid or the map does not exist, the response will be an empty object:
{}
If the currently authenticated user is not a member of the requested club, the response will contain an error:
[
"clubMemberRole:error-notMember"
]
If a dedicated server account is used, the response will contain an error:
[
"club_Join:error-notAllowed"
]