api_token: Read your EcoTaxa token

View source: R/api_token.R

api_tokenR Documentation

Read your EcoTaxa token

Description

Read your EcoTaxa token

Usage

api_token(path = api_token_path())

Arguments

path

path to the file where the token is stored, defined by ⁠[api_token_path()]⁠.

Value

The token string.

Examples

# get a token
api_login(username="ecotaxa.api.user@gmail.com", password="test!")
# and now read it
api_token()

ecotaxa/ecotaxar documentation built on Jan. 25, 2024, 2:08 p.m.