amberdata_api_call | R Documentation |
amberdata_api_call
amberdata_api_call(url, api_key, method, timeout_seconds = 60, query = NULL)
url |
the url for your Amberdata API call |
api_key |
your Amberdata API key |
method |
"GET" or "POST" |
timeout_seconds |
seconds until the query times out. Default is 60. |
query |
your query parameters. The default value is NULL. |
returns data from your Amberdata API call
## Not run:
api_key <- "..."
url <- "https://web3api.io/api/v2/market/exchanges"
method <- "GET"
exchanges <- amberdata_api_call(url, api_key, method)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.