View source: R/cryptocompare_api.R
cryptocompare_api | R Documentation |
Execute a GET call to cryptocompare API.
cryptocompare_api(path = NULL, query = NULL, config = list())
path |
Character vector. API path, |
query |
Named list. Query parameters for the API call, |
config |
Configuration parameter |
api_path = c("data", "exchange", "histoday")
api_query = list(tsym = "USD", e = "Binance",
toTs = as_unix("2023-01-01"),
limit = 2000, api_key = NULL)
cryptocompare_api(path = api_path, query = api_query)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.