Thanks for your answers.
So I try with the "Location" response header but this doesn't give me a link with the ID but the same link (https://www.speedrun.com/api/v1/users/Pseudo).
Request: https://www.speedrun.com/api/v1/users/Stun
response header: { server: 'nginx/1.10.3', date: 'Wed, 11 Mar 2020 11:29:23 GMT', 'content-type': 'text/html', 'content-length': '187', connection: 'close', location: 'https://www.speedrun.com/api/v1/users/Stun' }
I want to use the speedrun.com api for a discord bot in JS but I can't get the players id by their nickname :
I use NodeJs and HTTPS for the request so when i make a request on https://speedrun.com/api/v1/users/Pseudo this doesn't return me a JSON file.
How can i get the ID by the pseudo to make my request ?
Sorry if there are mistakes.