btsync-api

Bittorent Sync API Client

btsync-api

BitTorrent Sync API Client

npm install btsync-api

  • licence
  • getostype
  • getsettings
  • getversion
  • checknewversion
  • getuserlang
  • iswebuilanguageset
  • getdir params: dir: absolute path in file system
  • getsyncfolders
var client = require('btsync-api')();
client.on('ready', function() {
  client.call('getosinfo', function(errosInfo) {
    console.log(err, osInfo);
  })
});
client.on('error', console.error);

MIT