Stores an API key in the PARLAY_API_KEY environment variable for the
current R session. All keyed endpoints read the key from that
variable, so you can also set it once in your .Renviron file and
never call pa_auth() at all.
Arguments
- key
Character API key from your parlay-api.com dashboard, or
NULLto just check the current state.
Details
Called with no arguments, pa_auth() reports whether a key is
currently set (without printing it).
See also
pa_sandbox() for keyless testing.