Reports everything relevant to tallyr working: which accounts have keys available and which is active, whether the active account's API key was found (and where), whether it looks like a Tally key, whether you are online, and whether the key actually authenticates against the Tally API. Ends with recommendations for fixing anything that's wrong. Never errors, whatever the state of your setup.
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).
Value
Invisibly, a list with components api_key (the key status),
accounts (available account names), online (logical) and user
(the authenticated user, or NULL if the connectivity test failed or
wasn't run).