mozammil/putio-php

PHP SDK for put.io

v1.0.1 2018-12-22 14:32 UTC

This package is auto-updated.

Last update: 2022-07-23 00:49:19 UTC


README

Latest Version on Packagist Build Status Quality Score Software License

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.