synology

0.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i synology

Weekly Downloads

16

Version

0.0.0

License

none

Last publish

Collaborators

  • yannickcr