Tokens
You can retrieve your API tokens programatically, although it is not recommended.
POST: https://api.scored.co/api/v2/user/login
Pass the username
and password
parameters.
The returned response will include an sso_token
- you do not need this.
Instead, you need the cookie value of LTS
, which is returned in the set-cookie
header.
Next, you will need to send a request to the token endpoint.
POST: https://api.scored.co/api/token
Along with this, you will need to send the cookie header:
LTS=[REPLACE-VALUE]
Replace [REPLACE-VALUE]
with your LTS
cookie.