bitcoincharts

bitcoincharts.com API client for node.js

npm install bitcoincharts
1 downloads in the last day
1 downloads in the last week
51 downloads in the last month

node-bitcoincharts

An unofficial node.js client for the bitcoin charts markets api.

Installation

node-bitcoincharts is available as bitcoincharts on npm.

npm install bitcoincharts

Usage

var BitcoinCharts = require('bitcoincharts'),
    bitcoinCharts = new BitcoinCharts();

bitcoinCharts.weightedPrices(function(err, data) {
  if (err) {
    throw err;
  }

  console.log(data);
});

bitcoinCharts.markets(function(err, data) {
  if (err) {
    throw err;
  }

  console.log(data);
});

bitcoinCharts.trades({ "symbol": "btceUSD", "start": 1397322000, "end": 1397324000 }, function(err, data) {
  if (err) {
    throw err;
  }

  console.log(data);
});

License

This module is ISC licensed.

npm loves you