Creating an API key
To create an API key, log into the Tilebox Console. Navigate to Account -> API Keys and click the “Create API Key” button.Keep your API keys secure. Deactivate any keys if you suspect they have been compromised.
Bearer token authentication
The Tilebox API uses bearer tokens for authentication. You need to pass your API key as thetoken
parameter when creating an instance of the client.
If you set your API key as an environment variable named
TILEBOX_API_KEY
, you can skip the token parameter when creating a client.