0.0.5 • Published 9 years ago

node-neufbox v0.0.5

Weekly downloads
4
License
ISC
Repository
github
Last release
9 years ago

node-neufbox

Node module to interact with NeufBox v4 API

This projet is currently in progress, lot of stuff are not implemented yet.

How to install

npm install node-neufbox

How to use

To use, simple require Neufbox module

var neufbox = require('node-neufbox');

You can now access to public methods without authentification:

nb.getInfo(function(info){
  console.log(info.iad);
});

If you need authentification, use the connect method and provide your username and password

neufbox.connect( {username: 'admin', password: 'admin'}, function(){
  //do stuff...
}); 

Then you can use methods that require authentification:

nb.getDnsHostList(function(err, res){
    console.log(res);
});

Changelog

###0.0.5

  • Add generic method _makeRequest
0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago