Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

btsync-api

bencevans6MIT0.2.0

Bittorent Sync API Client

bittorent, sync, api, client

readme

btsync-api

BitTorrent Sync API Client

Install

npm install btsync-api

API Commands

  • licence
  • getostype
  • getsettings
  • getversion
  • checknewversion
  • getuserlang
  • iswebuilanguageset
  • getdir params: dir: absolute path in file system
  • getsyncfolders
  • Example

var client = require('btsync-api')();
client.on('ready', function() {
  client.call('getosinfo', function(err, osInfo) {
    console.log(err, osInfo);
  })
});
client.on('error', console.error);

Licence

MIT