rcoinbase provides an R interface for making requests to the Coinbase API. This package is still under development and not all endpoints have been implemented yet.
Please see the official Coinbase API reference for more information on the web API.
library(rcoinbase)
user <- get_current_user()
accounts <- get_accounts()
user$content$data
accounts$content$data
Installation can be done via devtools.
devtools::install_github("zamorarr/rcoinbase")
API key authentication requires each request to be signed. You can create and activate new API keys in your Coinbase API settings.
This package assumes you have set your COINBASE_KEY
and COINBASE_SECRET
environment variables to the values provided when you created a new API key. Please ensure these are set in your ~/.Renviron file and check with
Sys.getenv("COINBASE_KEY")
Sys.getenv("COINBASE_SECRET")
- Wallet GET Endpoints (complete)
- Wallet POST/PUT/DELETE Endpoints (in-progress)
- Merchant Endpoints
- Data Endpoints