Communicate with Bitme REST API with Node.js
CoffeeScript JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib
.gitignore
Changelog.md
README.md
package.json

README.md

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('BTCLTC', function(err, res) {
  if (err) return console.error(err);
  console.log(res);
});