Get favorite maps

GET https://api.trackmania.com/api/user/maps/favorite?length={length}&offset={offset}

Path parameters:

  • {length} (integer) The number of maps to retrieve (10 by default, 100 is the maximum)
  • {offset} (integer) The number of maps to skip

Retrieves the player's favorite maps.


Remarks:

  • This endpoint requires the read_favorite scope.
  • This endpoint can not be used with a token obtained from the Client Credentials flow, because it has to be associated with a player.
  • The access token has to be provided in the Authorization header in the format Bearer <token>.

Example request:

GET https://api.trackmania.com/api/user/maps/favorite?length=1&offset=3

Example response:

{
  "list": [
    {
      "uid": "JlxlB7KbrCfhjAf5ld89ByXR987",
      "name": "Winter 2022 - 01",
      "author": "d2372a08-a8a1-46cb-97fb-23a161d85ad0",
      "thumbnailUrl": "https://prod.trackmania.core.nadeo.online/storageObjects/3ddb465d-0357-41c0-9946-394b96836577.jpg"
    }
  ]
}