powered by
coinbase_api_call
coinbase_api_call( api_key, api_secret, method, path, body, query = NULL, timeout_seconds = 60 )
returns the response from your Coinbase API call
your Coinbase API key
your Coinbase API secret
"GET" or "POST"
the path of your API call
the body of your API call
the query for your coinbase API call as a list
seconds until the query times out. Default is 60.
if (FALSE) { path <- "/api/v3/brokerage/accounts" method <- "GET" api_key <- "..." api_secret <- "..." body <- "" data <- coinbase_api_call(api_key, api_secret, method, path, body)}
Run the code above in your browser using DataLab