coinbase_api: Coinbase API

Description Usage Arguments Examples

Description

Make request to Coinbase API.

Usage

1
2
3
4
5
6
7
8
9
coinbase_api(endpoint, method = c("get", "post", "put", "delete"), ...)

coinbase_get(endpoint, ...)

coinbase_post(endpoint, ...)

coinbase_put(endpoint, ...)

coinbase_delete(endpoint, ...)

Arguments

method

appropriate web method. These map to httr::GET, httr::POST, etc...

...

extra arguments passed to httr::GET, httr::POST, etc...

Examples

1
2
3
4
## Not run: 
coinbase_get("prices/BTC-USD/spot", query = list(date = "2017-01-01"))

## End(Not run)

zamorarr/rcoinbase documentation built on May 30, 2019, 4:18 p.m.