emissionrpc

Emission, Another Wrapper JSON-RPC to Transmission


Keywords
torrent, json, rpc
License
MIT
Install
pip install emissionrpc==0.4.5

Documentation

EmissionRPC

https://img.shields.io/pypi/v/emissionrpc.svg?style=flat-square https://img.shields.io/pypi/pyversions/emissionrpc.svg?style=flat-square

EmissionRPC, a (Yet Another) Python wrapper JSON-RPC to Transmission BitTorrent client.

See the RPC interface .

Prerequisites

python 2.7 and 3.6

How to install

$ pip install emissionrpc

Usage

import emissionrpc

emitter = emissionrpc.Client()

# Get the torrent's list
emitter.list_torrent()

# Adding a torrent (the torrent is not started)
emitter.add_torrent('http://urltorrent.torrent')

# To start all the torrents
emitter.start()

# To start a specific torrent (pass the id to the client)
emitter.start(1)

# To delete a torrent (pass the id to the client)
emitter.delete(3)