Specifies API Key and the base URL for session

setup(api_key = NULL, sandbox = FALSE)

get_setup()

reset_setup(api_key = TRUE, sandbox = TRUE)

Arguments

api_key

Your Coinmarketcap API key.

sandbox

Sets the base URL for the API. If set to TRUE, the sandbox-API is called. The default is FALSE.

Examples

setup("xXXXXxxxXXXxx") get_setup()
#> v API-KEY is set up #> v Base-URL is set up