Learn R Programming

coinmarketcapr (version 0.4)

setup: Setup

Description

Specifies API Key and the base URL for session

Usage

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

Run this code
# NOT RUN {
setup("xXXXXxxxXXXxx")
get_setup()

# }

Run the code above in your browser using DataLab