bitme

Communicate with BitMe REST API

npm install bitme
3 downloads in the last week
9 downloads in the last month

bitme

Communicate with BitMe REST API using Node.js.

Install

$ npm install bitme

Verify API Credentials

var BitMe = require('bitme');
var bitme = new BitMe('mykey', 'mysecret');

bitme.verifyCredentials(function(err, res) {
  if (err) return console.error(err);
  console.log('credentials are valid!');
});

Orderbook

// orderbook does not require authentication
var bitme = new BitMe();
bitme.orderbook('BTCUSD', function(err, res) {
  if (err) return console.error(err);
  console.log(res);
});
npm loves you