binance_us_api_call {cryptotrackr} | R Documentation |
binance_us_api_call
Description
binance_us_api_call
Usage
binance_us_api_call(url, key, data, secret, timeout_seconds = 60)
Arguments
url |
the base url and endpoint followed by '?' for your API call |
key |
your Binance.US API key |
data |
your URL encoded query parameters |
secret |
your Binance.US secret key |
timeout_seconds |
seconds until the query times out. Default is 60. |
Value
executes an authenticated API call
Examples
## Not run:
key <- "..."
secret <- "..."
time <- binance_us_time()
data <- paste('timestamp=', time, sep = '')
url <- 'https://api.binance.us/api/v3/account'
data <- binance_us_api_call(url, key, data, secret)
## End(Not run)
[Package cryptotrackr version 1.3.3 Index]