3.0.2 • Published 7 years ago

cex-as-promised v3.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

cex-as-promised

async / promise-based CEX.io API client

Build Status

Can be configured by environment vars as well as object passed to constructor

const CEXIO = require('cex-as-promised');

const cexio = new CEXIO({
	clientId: 'cex client',
	key: 'Ive got the key',
	secret: 'Ive got the secret',
	ccy1: 'BTC',
	ccy2: 'EUR'
});

Or pass any combination of the fields above and the following env vars:

CEXIO_CLIENT_ID
CEXIO_KEY
CEXIO_SECRET
CEXIO_CCY_1
CEXIO_CCY_2