UTorrent.listTorrents()

List all Torrents from the uTorrent client.

Usage

Hover over inputs/exits for more info.

var UTorrent = require('machinepack-utorrent');


// List all Torrents from the uTorrent client.

UTorrent.listTorrents({

host: 'localhost',

port: 26085,

username: 'admin',

password: '12345',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

host required

'localhost'
port required

26085
username required

'admin'
password required

'12345'

Exits

error

An unexpected error occurred.

success

OK.