Skip to content

crosello/t411

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#T411 library

Search torrents in t411 api

Installation

composer require crosello/t411

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]);

About

Search torrents in T411 application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages