README.md

Travis-CI Build Status Coverage Status

Overview

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.

Example usage

library(rcoinbase)
user <- get_current_user()
accounts <- get_accounts()

user$content$data
accounts$content$data

Installation and Setup

Installation can be done via devtools.

devtools::install_github("zamorarr/rcoinbase")

API Authentication

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")

Roadmap



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