Skip to contents

Validates the token by calling at_whoami(), prints a {cli} confirmation with the authenticated user's email, and sets options(airtable2.token = tok).

Usage

air_set_token(tok)

Arguments

tok

Personal Access Token (PAT) string.

Value

tok (invisibly).

Examples

if (FALSE) { # \dontrun{
air_set_token(Sys.getenv("AIRTABLE_API_KEY"))
} # }