tallyr authenticates with a personal API key: create one at Tally Settings > API keys (https://tally.so/settings/api-keys) and store it where tallyr can find it.
Arguments
- account
The name of the Tally account whose key to use, e.g.
"work"for a key stored inTALLY_API_KEY_WORK. The defaultNULLuses the account selected withtally_use_account(), or failing that the default account (TALLY_API_KEY).
Details
For the default account, the key is looked up first in the
tallyr.api_key R option, then in the TALLY_API_KEY environment
variable. For regular use, set TALLY_API_KEY in your .Renviron
(e.g. via usethis::edit_r_environ()). For a single session, you can
instead use options(tallyr.api_key = "tly-...").
If you work with several Tally accounts, store each account's key in a
TALLY_API_KEY_<NAME> environment variable (e.g. TALLY_API_KEY_WORK
for account "work"). A named account's key comes only from its
environment variable; the tallyr.api_key option is not consulted.
See tally_use_account() for switching accounts.
See also
tally_use_account() and tally_accounts() for working with
multiple accounts, tally_sitrep() to diagnose your setup.