Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

node-deluge

1.0.2 • Public • Published

node-deluge

A simple Deluge NodeJs API interface/wrapper, asynchronous NodeJs module to interact with the Deluge torrent client API.

Build Status

INSTALLATION

npm install --save node-deluge

USAGE

First 'require' the package into your project node-deluge accepts 3 parameters as input:

  • hostname: your server's url, eg. deluge.nusrath.com or 192.168.1.111
  • password: your server's password
  • port: the port your server consumes - the default is 8112 , if you are running the default port, use null here
var deluge = require('node-deluge')(hostname, password, port);

Make use of the various methods

The syntax is as follows:

deluge.method(callback(json_data))

METHODS

There are currently 2 methods available:

get_status this method returns as JSON the status of all torrents currently added to the client. get_config this method returns as JSON the current configuration of the torrent client, including download paths, etc.

TODO

Include all methods mentioned in the link specified in the 'RESOURCES' section

RESOURCES

Deluge API documentation

Install

npm i node-deluge

DownloadsWeekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • avatar