Set and forget the authentification token for the current session.
set_token(token = NULL)forget_token()
forget_token()
a character string (with quotes) containing your token. If NULL, then the token can be passed without quotes (not as character string) after a prompt.
NULL
set_token: set the environment variable SPECIESPLUS_TOKEN.
set_token
SPECIESPLUS_TOKEN
forget_token: forget the environment variable SPECIESPLUS_TOKEN.
forget_token
https://api.speciesplus.net/documentation
# NOT RUN { # NB: the token below is not working set_token('8QW6Qgh57sBG2k0gtt') # interactively set_token() # }
Run the code above in your browser using DataCamp Workspace