amberdata_api_call {cryptotrackr}R Documentation

amberdata_api_call

Description

amberdata_api_call

Usage

amberdata_api_call(url, api_key, method, timeout_seconds = 60, query = NULL)

Arguments

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.

Value

returns data from your Amberdata API call

Examples

## 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)

[Package cryptotrackr version 1.3.3 Index]