0.2.0 • Published 12 years ago
btsync-api v0.2.0
btsync-api
BitTorrent Sync API Client
Install
npm install btsync-api
API Commands
licencegetostypegetsettingsgetversionchecknewversiongetuserlangiswebuilanguagesetgetdirparams:dir: absolute path in file systemgetsyncfolders
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