Skip to content
BitTorrent Sync API Client
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
example.js
index.js
package.json
test.js

README.md

btsync-api Build Status Coverage Status

BitTorrent Sync API Client

Install

$ npm install btsync-api

API

  • 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 © Ben Evans

Something went wrong with that request. Please try again.