This commit is contained in:
Adam Ierymenko 2015-05-16 16:32:13 -07:00
parent c9fd8de007
commit cf51961d52
5 changed files with 87 additions and 80 deletions

View file

@ -0,0 +1,14 @@
var ZT1Client = require('./index.js').ZT1Client;
var zt1c = new ZT1Client('http://127.0.0.1:9993/','5d6181b71fae2684f9cc64ed');
zt1c.status(function(err,status) {
if (err)
console.log(err);
console.log(status);
zt1c.networks(function(err,networks) {
if (err)
console.log(err);
console.log(networks);
});
});