Headers:
-
Authorization: nadeo_v1 t={token}An access token for theNadeoLiveServicesaudience
Service provided by Openplanet
Get player matchmaking ranks
GET
https://meet.trackmania.nadeo.club/api/matchmaking/{matchmakingType}/leaderboard/players?players[]={accountID}
Headers:
Authorization: nadeo_v1 t={token}
An access token for the NadeoLiveServices audience
Path parameters:
{matchmakingType}
(integer)
The ID of the matchmaking type
*
Query parameters:
{accountID}
(string)
A valid account ID
*
Gets matchmaking ranks (for the specified type) for the requested players.
Remarks:
cardinal field in the response is the total number of players in the ranking.414 error if the request URI length is 8220 characters or more (corresponding to just over 150 account IDs, depending on how you encode the URI).Example request:
https://meet.trackmania.nadeo.club/api/matchmaking/2/leaderboard/players?players[]=f7fab1a3-3bcc-4ffa-8ce3-45cea7ab89c3
Example response:
{
"matchmakingId": 2,
"cardinal": 1158029,
"results": [
{
"player": "f7fab1a3-3bcc-4ffa-8ce3-45cea7ab89c3",
"rank": 924,
"score": 2431
}
]
}
To retrieve data for more than one account at once, send the accountID values as follows:
GET https://matchmaking.trackmania.nadeo.club/api/matchmaking/2/leaderboard/players?players[]=f7fab1a3-3bcc-4ffa-8ce3-45cea7ab89c3&players[]=f8f7c280-8419-472e-9329-6436fe3d04c3
If the requested matchmakingType does not exist, the response will contain an error.