wtorrent-rtorrent

0.0.9 • Public • Published

wTorrent - rTorrent

Wrapper for rTorrent.

This package is used for wrap generic methods for wTorrent

If you want complete wrapper for Transmission, use https://www.npmjs.com/package/xmlrpc and follow documentation on https://github.com/rakshasa/rtorrent/wiki/RPC-Setup-XMLRPC

Usage

const wRtorrent = require('wtorrent-rtorrent');

const client = wRtorrent({
  host: '127.0.0.1', // required
  port: 80, // required
  endpoint: '/RPC2', // optional, default /RPC2
  user: 'admin', // optional, default null
  password: 'admin', // optional, default null
});

const torrents = await client.get();
const torrent = await client.getOne('TORRENT_HASH');

Package Sidebar

Install

npm i wtorrent-rtorrent

Weekly Downloads

2

Version

0.0.9

License

ISC

Unpacked Size

5.22 kB

Total Files

5

Last publish

Collaborators

  • 2max