tsc_setup(
api_url = NULL,
api_token = NULL,
test_api_url = NULL,
test_api_token = NULL,
verbose = NULL
)
A TSC API URL (optional),
default: get_tsc_api_url
.
A TSC API token, leading with "Token "
A TSC API URL for tests (optional),
default: get_tsc_test_api_url
A TSC API token for tests,
leading with "Token " (character).
Default: get_tsc_api_token
.
Verbosity for tscr.
tscr_setup
sets TSC API connection details. tscr
's
functions default to use the default URL, but require an API Token to work.
Other settings:
tsc_settings()
# TSC users can access their TSC API Token on their profile page on TSC.
# Not specifying the default TSC API URL will reset the TSC URL to its
# default "https://tsc.dbca.wa.gov.au/api/1/":
tsc_setup(api_token = "Token xxx")