0.0.8 • Published 10 years ago

bitcoincharts v0.0.8

Weekly downloads
45
License
-
Repository
github
Last release
10 years ago

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.

0.0.8

10 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago