2017 © Pedro Peláez
 

library transmission-rpc

PHP 100% object-oriented Transmission RPC client. This library gives you code-completion for all requests and responses available from the Transmission daemon.

image

ktorfs/transmission-rpc

PHP 100% object-oriented Transmission RPC client. This library gives you code-completion for all requests and responses available from the Transmission daemon.

  • Friday, April 24, 2015
  • by kristoftorfs
  • Repository
  • 1 Watchers
  • 0 Stars
  • 47 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Transmission RPC client

A 100% OOP RPC client for Transmission. This library gives you code-completion for all requests and responses available from the Transmission daemon., (*1)

The plan is to keep this in sync at all times with Transmission RPC specs. Should you notice I'm behind on the specs, please notify me by opening a new issue., (*2)

Installation

Installation is done through composer., (*3)

Usage example

use \Transmission\Transmission;
use \Transmission\Requests;
use \Transmission\Responses;

try {
    $tr = new Transmission();
    $request = new Requests\TorrentGet();
    $request->fields = array(Requests\TorrentGet::eta, Requests\TorrentGet::name, Requests\TorrentGet::percentDone);
    #$request->includeAll();
    $response = $tr->torrentGet($request);
    foreach($response->torrents as $torrent) {
        printf('%s: %d%% done, %d seconds left<br>', $torrent->name, $torrent->percentDone * 100, $torrent->eta);
    }
} catch (Exception $e) {
    printf('Error %d - %s', $e->getCode(), $e->getMessage());
}

The Versions

24/04 2015

dev-master

9999999-dev

PHP 100% object-oriented Transmission RPC client. This library gives you code-completion for all requests and responses available from the Transmission daemon.

  Sources   Download

MIT

The Requires

 

by Kristof Torfs

api client torrent download transmission rpc

24/04 2015

1.0.2

1.0.2.0

PHP 100% object-oriented Transmission RPC client. This library gives you code-completion for all requests and responses available from the Transmission daemon.

  Sources   Download

MIT

The Requires

 

by Kristof Torfs

api client torrent download transmission rpc

24/04 2015

1.0.1

1.0.1.0

PHP 100% object-oriented Transmission RPC client. This library gives you code-completion for all requests and responses available from the Transmission daemon.

  Sources   Download

MIT

The Requires

 

by Kristof Torfs

api client torrent download transmission rpc

24/04 2015

1.0.0

1.0.0.0

PHP 100% object-oriented Transmission RPC client. This library gives you code-completion for all requests and responses available from the Transmission daemon.

  Sources   Download

MIT

The Requires

 

by Kristof Torfs

api client torrent download transmission rpc