cc_set_api_key: cc_set_api_key

View source: R/cryptocompare.R

cc_set_api_keyR Documentation

cc_set_api_key

Description

add a personal api key to the "cryptocompare" environment in such a way to avoid to inserting it manually in every function's call where it is needed.

function to use the api key saved in the "cryptocompare" environment. In order to add it you can use the function cc_set_api_key

Usage

cc_set_api_key(api_key = NULL, quiet = FALSE)

cc_api_key(quiet = FALSE)

Arguments

api_key

character

verbose

logical, if TRUE the function display a warning if the Api Key was not found!

Value

a character, if the api key was added in the "cryptocompare" environment, otherwise NULL.

Examples

# Add the api key to the "cryptocompare" environment
yourapikey <- "yourapikey"
cc_set_api_key(api_key = yourapikey)


beniamino98/cryptocompareR documentation built on June 19, 2024, 12:37 a.m.