bitcoincharts-promise
v1.1.0
Published
Wrapper bitcoincharts.com API client for that returns Promise
Downloads
5
Maintainers
Readme
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.