This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

node-rtorrent-scgi

0.0.8 • Public • Published

node-rtorrent

Installation

Available via npm:

$ npm install node-rtorrent-scgi

Or via git:

$ git clone git://github.com/kinabcd/node-rtorrent.git node_modules/node-rtorrent-scgi

API

Connection

Connect rTorrent with TCP/IP:

conn = rtorrent({host:'localhost', port:5000});

Connect rTorrent with Socket:

conn = rtorrent({path:'/tmp/torrent.sock'});

SendCall

Makes a request. Return the response from rTorrent.

conn.SendCall(methodName, params, function(err, data) {
    // Do something...
});

Details

Get the list of torrents.

conn.Details(function(list) {
    console.log(list);
});

Example

rtorrent = require('node-rtorrent-scgi');
conn = rtorrent({host:'localhost', port:5000});
conn.Details(function(list) {
    console.log(list);
});

License

GNU Lesser General Public License v3

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i node-rtorrent-scgi

Weekly Downloads

29

Version

0.0.8

License

LGPL-3.0

Last publish

Collaborators

  • kinabcd