0.0.5 • Published 9 years ago
node-neufbox v0.0.5
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