The BitTorrent Sync API module allows you to communicate with a BitTorrent Sync API enabled server, allowing you to manage syncs, and much, much more.
The BitTorrent Sync API is currently in beta, more details at http://www.bittorrent.com/sync/developers
Features
- Full support for the BitTorrent Sync API as defined at http://www.bittorrent.com/sync/developers/api
- Rules actions and data for all methods.
How to use
- Install/Enable as per https://drupal.org/node/895232
- Configure the API at "admin/config/services/btsync".
- Use one of the following methods:
- Rules:
All BitTorrent Sync API methods are available as Rules actions and provide the relevant data as defined in the BitTorrent Sync API documentation.
- Direct module integration:
The "btsync_method_callback()" can be used directly in your module to call all available methods. The function takes two arguments:
- $method; The name of the method, as per the BitTorrent Sync API documentation and the filename (excluding '.inc') in this modules "methods" directory.
- $data; A keyed array of the required arguments required for the chosen method.
An example, creating a new sync folder, can be seen below:
function mymodule_myfunction() { btsync_method_callback('add_folder', array( 'dir' => 'public://mydirectory', )); }
- Rules:
Recommended modules
On the web
Project information
- Project categories: Integrations
- Created by realityloop on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.


