-
Notifications
You must be signed in to change notification settings - Fork 5
Trackmania Web Services
We use Trackmania Web Services to fetch the relevant login information for further display in a variety of widgets.
As per usual with our friends over at Nadeo, the website that you gain the API access through is not just HTTP only, it also does not support any modern encryption methods neither does it have a valid certificate.
Warning
Due to the expired certificates and obsolete encryption methods you might have to alter your browser's configuration to access the Trackmania Developers website.
To be able to use the Webservices, you will need an API user. Fortunately, you can create as many as you would like, entirely free of charge. The process is as follows:
- Go to the Trackmania Developers page
- Login (button in the top right corner) using your Trackmania account, which does not have to be a paid account
- Go to the
Web Services
tab - Go to
Manage your API users
, thenCreate a new API user
if you have not created one already - After that is done, click on
Manage
next to the API user you have created in the previous step - Click
Request access to TMF game data
- You are all set, now you can input your credentials into the
.env
file in the root directory of the project
If account creation went through, you ought to enable the Webservices plugin bundled with the controller. This is done by modifying the file /plugins/webservices/Config.js
, setting the isEnabled
property to true
.
Warning
The .env
values that need to be altered are WEBSERVICES_LOGIN
, which begins with tmf_
, and WEBSERVICES_PASSWORD
, which is the password for that Webservices login.
In case you cannot create an API user of your own, you can use one of the accounts created by the Trakman developers, these are:
tmf_qweqwe_1
through tmf_qweqwe_10
, password for each is trakman
.
Unfortunate. You can e-mail Nadeo about it, and they will do absolutely nothing to help you.