mozammil / putio-php
PHP SDK for put.io
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 1 063
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^7.1
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2022-07-23 00:49:19 UTC
README
PHP bindings to Put.io's API.
Install
Via Composer
$ composer require mozammil/putio-php
Access Token
This library assumes that you already have an access token. If you don't, please read this article on how to get one.
In case you are using the API for your own purposes, you can skip the steps mentioned in the article and register an application to get your own personal access token.
Usage
$putio = new Mozammil\Putio\Putio('token'); // This will list all your files in your parent folder $files = $putio->files()->list(); // This will list all your ongoing transfers $transfers = $putio->transfers()->list();
Full documentation coming soon..
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Security
If you discover any security related issues, please email hello@moz.im instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.