bitcoincharts-promise
(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.