coinlist_api_call {cryptotrackr}R Documentation

coinlist_api_call

Description

coinlist_api_call

Usage

coinlist_api_call(
  api_key,
  api_secret,
  method,
  path,
  body,
  timeout_seconds = 60
)

Arguments

api_key

your Coinlist API key

api_secret

your Coinlist API secret

method

"GET" or "POST"

path

the path of your API call

body

the body of your API call

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns the response from your Coinlist API call

Examples

## Not run: 
path <- "/v1/accounts"
method <- "GET"
api_key <- "..."
api_secret <- "..."
body <- ""
data <- coinlist_api_call(api_key, api_secret, method, path, body)
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]