splatnet3_scraper.auth.EnvironmentVariablesManager.variable_to_token(variable)

Given the environment variable name, returns the token name.

Parameters:
variable : str

The environment variable name.

Raises:

KeyError – If the variable is not defined.

Returns:

str – The token name.