README
BTC-e Public API v3 Node.js Client.
Installation
We publish to npm
. Run the following command in shell.
$ npm install --save btce-public-v3
Basic Usage
var BTCE_Public_v3 = require('btce-public-v3');
var btce = new BTCE_Public_v3();
btce.info()
.then(function(results){
console.log('Results');
console.log(results);
})
.catch(function(short, raw){
console.log('----- SHORT ERROR -----');
console.log(short);
console.log('----- RAW ERROR -----');
console.log('type: '+typeof(raw));
if(typeof(raw) != 'undefined')
console.log(raw);
});