Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 

README.md

uTorrent PHP Client

An easy to use PHP wrapper of the uTorrent WebGUI APIs

How to use?

See code samples in the example.php file. The steps are somewhat like these:

(1) Construct a new API object

(2) Set login Credentials

(3) Fetch the CSRF Token

(4) Make an API Call

Calling the APIs

All parameters to the API must be passed as associative arrays. So, when we want to list the torrents, we shall call the api with these params:

array(
	"list" => 1
)     

Similarly, to get files under a torrent the params array will be like:

array(
	"action" => "getfiles",
	"hash" => [TORRENT HASH]
)

In short, you can pass the different parts of original request url as key-value pairs as params.

Check out the official docs: http://www.utorrent.com/community/developers/webapi

I hope to add more examples and methods to make direct api calls soon.

About

A PHP Wrapper for the uTorrent WebGUI APIs

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.