library t411
T411 API Client
crosello/t411
T411 API Client
- Tuesday, May 12, 2015
- by crosello
- Repository
- 1 Watchers
- 0 Stars
- 20 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
T411 library
Search torrents in t411 api, (*1)
Installation
composer require crosello/t411
, (*2)
Usage
Authentication
$authConfig = new AuthConfig('username', 'password');`
...
$authentication = new Authentication();
$tokenConfig = $authentication->auth($authConfig);
Search Torrents
$limit = 10;
$repository = new TorrentRepository($tokenConfig, $limit);
$torrents = $repository->search('Ubuntu');
Download torrent
$downloader = new TorrentDownloader($tokenConfig);
$file = $downloader->download($torrents[0]);
dev-master
9999999-dev
T411 API Client
Sources
Download
The Requires
The Development Requires