bitcoincharts-promise

Wrapper bitcoincharts.com API client for that returns Promise


Keywords
btc, bitcoin, bitcoincharts, promise
License
ISC
Install
npm install bitcoincharts-promise@1.0.1

Documentation

bitcoincharts-promise

Build Status

(Unofficial) Promise-based bitcoincharts client.

Installation

bitcoincharts-promise is available as bitcoincharts-promise on npm.

npm install bitcoincharts-promise

Usage

const bitcoincharts = require('bitcoincharts-promise'),

const options = {
    timeframe: 1,
    resolution: '30-min',
    transpose: false // Set true to unzip the resulting array
}

bitcoincharts.OHLC(options).then(result=>{
    console.log(result)
})

License

This module is ISC licensed.