0.0.0 • Published 12 years ago

synology v0.0.0

Weekly downloads
3
License
-
Repository
github
Last release
12 years ago

Synology

A simple wrapper for the Synology NAS API.

Installation

$ npm install synology

Usage

var Synology = require('synology');

var syno = new Synology({
	host    : 'localhost',
	user    : 'mylogin',
	password: 'mypassword'
});

syno.query('/webapi/query.cgi', {
	api    : 'SYNO.API.Info',
	version: 1,
	method : 'query',
	query  : 'ALL'
}, function(err, data) {
	if (err) return console.error(err);
	console.log(data);
});

TODO

  • Documentation
  • Tests
  • Helpers

License

Node Chrome Logger is licensed under the MIT License.