Authentication
Get your API token
Once you are logged in to your dashboard navigate to API access and create an API token.
You can name your token, so you know where this one is going to be used, in case you ever need to revoke it.
r4nkt API access
Once you create a token, it will be shown only once to you. Make sure to store it safely. After it is shown it can only be revoked, in which case you will need to generate a new token for use.
Once you have your token, you can authenticate against the API.
Authenticate against the API
The token you've received can be used in the Authorization
header.
Here's a curl example of how you can authenticate against the API. In this example, it will list all of your game's actions.
The token is used to authenticate. The /v1/games/<game_id>/actions
endpoint is hit to retrieve your game's actions. The resulting response payload might look like this:
Last updated