set_api: Set API settings

View source: R/api_functions.R

set_apiR Documentation

Set API settings

Description

'set_api' is used to set the API settings consisting of the API URL, the API key and the verbose option. 'set_api' is a wrapper for the functions 'set_api_url', 'set_api_key' and 'set_api_verbose'.

Usage

set_api(api_url, api_key, verbose = FALSE)

Arguments

api_url

API base endpoint (URL)

api_key

API key

verbose

Verbose setting for API call (default is FALSE)

Examples

#set_api("http://mynadacatalog.myorganization.org/index.php/api/", "abc123", verbose = TRUE)

mah0001/nadar documentation built on March 30, 2024, 2:44 a.m.