transmission-rpc-client
v1.4.3
Published
Transmission client for V3. More info in Git Repo
Downloads
30
Readme
transmission-rpc-client
Simple client for calling transmisison torrent client using it's own RPC
Usage
Initializing client:
import {TransmissionClient} from "./Client";
const client = new TransmissionClient({
host: "<your transmission hostname>",
isHttps: false //(use https protocol. this parameter is optional)
});
Calling transmission:
client.getTorrents(GetTorrentRequest.of({fields: ["id", "name", "downloadDir"], ids: [1] || undefined}))
.then(res => console.log(res))
All API implemented here are described in transmission RPC docs