Skip to contents

Retrieves the Lichess Personal API access token from environment variables. Checks LICHESS_API_TOKEN and LICHESS_API_ACCESS_TOKEN.

Usage

lic_token(token = NULL)

Arguments

token

Optional character string specifying the token explicitly.

Value

A character string token, or NULL if not set.

Examples

lic_token()
#> NULL