Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Latest commit

 

History

History
20 lines (14 loc) · 1.35 KB

UseCases.md

File metadata and controls

20 lines (14 loc) · 1.35 KB

Some Relevant Use Cases

Obtain an username from an AccountID/ProfileID

Steps: (if you have the ProfileID skip to step 2)

  1. With the AccountID make a request to GET /webidentities/?accountIdList= from ProdTrackmania API and save the ProfileID
  2. With the ProfileID make a request to GET v3/profiles?profileId= from the UbiServices API and save the username.

Download a Record and Play It On Trackmania

Thanks to Breeku from showing me how I can play a ghost file on the Trackmania 2020. Check my question here and his method here

  1. Make a request to GET /mapRecords/?accountIdList= with the accountId, seasonId and mapIdList that you want to get.
  2. Grab the URL Link and download the file
  3. Change the extension to .gbx (the file will not have any extension when you download)
  4. Put on the Replays folder of your Trackmania Folder (normally located on your Documents Folder)
  5. Start the Trackmania 2020, go the Create Section -> Editor Replay -> Select YOUR REPLAY ON THE SAME MAP -> Edit
  6. Bottom Part of the editor with a clock symbol, you can read "Import Ghost", select and open the file you download
  7. Done!