UNPKG

btce-api

Version:

Node.js client for the btc-e API

13 lines (12 loc) 243 B
var btceApi = require('btce-api'); var oPair = { key: '', secret: '' }; btceApi.setKeys(oPair); btceApi.getInfo(function(oInfo){ console.dir(oInfo); }); btceApi.getTicker('ltc_usd', function(oTicker){ console.dir(oTicker); });