bitcoincharts
bitcoincharts.com API client for node.js
Last updated 7 years ago by pskupinski .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bitcoincharts 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.0.8                                ...           latest (7 years ago)

8 Versions

  • 0.0.8                                ...           7 years ago
  • 0.0.7                                ...           7 years ago
  • 0.0.6                                ...           7 years ago
  • 0.0.5                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |