coinbase-js
v0.2.0
Published
Client library for the Coinbase API
Downloads
5
Maintainers
Readme
Coinbase JS
Node.js client for Coinbase's API. This client covers the regular API. For the Coinbase Pro API, check out this client instead.
This is a work in progress. Significant changes and documentation are incoming.
Installation
npm install --save coinbase-js
or
yarn add coinbase-js
Usage
You'll need to generate an API key and secret.
import {Coinbase} from "coinbase-js";
const apiToken = "<your token>";
const apiSecret = "<your secret>";
const coinbase = new Coinbase({apiToken, apiSecret});
const response = await coinbase.getExchangeRates();
License
MIT