View source: R/cryptocompare.R
cc_set_api_key | R Documentation |
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
cc_set_api_key(api_key = NULL, quiet = FALSE)
cc_api_key(quiet = FALSE)
api_key |
character |
verbose |
logical, if TRUE the function display a warning if the Api Key was not found! |
a character, if the api key was added in the "cryptocompare" environment, otherwise NULL.
# Add the api key to the "cryptocompare" environment
yourapikey <- "yourapikey"
cc_set_api_key(api_key = yourapikey)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.