Build token or basic authentication based on given credentials
build_auth(
api_token = get_wastdr_api_token(),
api_un = get_wastdr_api_un(),
api_pw = get_wastdr_api_pw(),
api_url = get_wastdr_api_url(),
verbose = get_wastdr_verbose()
)
(character) The WAStD API token,
default get_wastdr_api_token
, see wastdr_setup
(character) A WAStD API username,
default get_wastdr_api_un
, see wastdr_setup
(character) A WAStD API password,
default get_wastdr_api_pw
, see wastdr_setup
(character) The WAStD API URL,
default get_wastdr_api_url
, see wastdr_setup
Whether to show debug messages. Default: wastdr::get_wastdr_verbose()
httr::authenticate() for Basicauth or httr::add_headers for TokenAuth
Other api:
download_minimal_wastd_turtledata()
,
download_wastd_sites()
,
download_wastd_turtledata()
,
download_wastd_users()
,
export_wastd_turtledata()
,
filter_wastd_turtledata_area()
,
filter_wastd_turtledata_seasons()
,
filter_wastd_turtledata()
,
handle_http_status()
,
wastd_GET()
,
wastd_POST()
,
wastd_bulk_post()
,
wastd_chunk_post()
,
wastd_create_update_skip()
,
wastd_parse()
,
wastd_post_one()