{"id":20665000,"url":"https://github.com/nicoswd/put.io-api-v2","last_synced_at":"2025-08-25T10:15:49.122Z","repository":{"id":4492213,"uuid":"5631486","full_name":"nicoSWD/put.io-api-v2","owner":"nicoSWD","description":"PHP OAuth API wrapper for put.io (putio)","archived":false,"fork":false,"pushed_at":"2016-04-01T16:51:14.000Z","size":493,"stargazers_count":15,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-03T20:55:37.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicoSWD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-31T17:02:52.000Z","updated_at":"2024-02-27T15:24:51.000Z","dependencies_parsed_at":"2022-08-06T17:00:26.637Z","dependency_job_id":null,"html_url":"https://github.com/nicoSWD/put.io-api-v2","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nicoSWD/put.io-api-v2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoSWD%2Fput.io-api-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoSWD%2Fput.io-api-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoSWD%2Fput.io-api-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoSWD%2Fput.io-api-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicoSWD","download_url":"https://codeload.github.com/nicoSWD/put.io-api-v2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoSWD%2Fput.io-api-v2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272045412,"owners_count":24864021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T19:27:21.796Z","updated_at":"2025-08-25T10:15:49.068Z","avatar_url":"https://github.com/nicoSWD.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Put.io OAuth API Wrapper for PHP 5.4\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/nicoswd/putio.svg)](https://packagist.org/packages/nicoswd/putio)\n[![Build Status](https://scrutinizer-ci.com/g/nicoSWD/put.io-api-v2/badges/build.png?b=master)](https://scrutinizer-ci.com/g/nicoSWD/put.io-api-v2/build-status/master) [![Code Coverage](https://scrutinizer-ci.com/g/nicoSWD/put.io-api-v2/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/nicoSWD/put.io-api-v2/?branch=master)\n[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/nicoswd/put.io-api-v2.svg?b=master)](https://scrutinizer-ci.com/g/nicoSWD/put.io-api-v2/?branch=master)\n\n[![Put.io Logo](http://s15.postimg.org/j2ewelz5n/putio_logo.png)](https://put.io/)\n\nThis is a powerful PHP library for [put.io](https://put.io/)'s [OAuth2 API](https://api.put.io/v2/docs/).\nIt supports all features that put.io's API provides natively, including file uploads, downloads, transfers, friends, etc... No dependencies required.\n\nTake a look at the [Wiki](https://github.com/nicoSWD/put.io-api-v2/wiki/) and [put.io's API documentation](https://api.put.io/v2/docs/) to get started.\n\nFind me on Twitter: @[nicoSWD](https://twitter.com/nicoSWD)\n\n**Take a look at the experimental [branch for PHP 7](https://github.com/nicoSWD/put.io-api-v2/tree/php7) with strict type hints and return types**\n\n## Install\n\nVia Composer\n\n``` bash\n$ composer require \"nicoswd/putio\": \"0.3.*\"\n```\n\nVia git\n``` bash\n$ git clone git@github.com:nicoSWD/put.io-api-v2.git\n```\n\n\n## Usage\n\n```php\n$putio = new PutIO\\API($accessToken);\n\n// Retrieve a an array of files on your account.\n$files = $putio-\u003efiles-\u003elistall();\n\n// Upload a file.\n$file = 'path/to/file.jpg';\n$putio-\u003efiles-\u003eupload($file);\n\n// Download a file.\n$fileID = 1234;\n$saveAs = 'my-file.jpg';\n$putio-\u003efiles-\u003edownload($fileID, $saveAs);\n\n// Search for files you have access to.\n$query = 'my file';\n$files = $putio-\u003efiles-\u003esearch($query);\n\n// Add a new transfer (file or torrent)\n$url = 'http://torrent.site.com/legal_video.torrent';\n$putio-\u003etransfers-\u003eadd($url);\n\n// Get status of a transfer\n$transferID = 1234;\n$info = $putio-\u003etransfers-\u003einfo($transferID);\n\n// And a lot more...\n```\n\n## Security\n\nIf you discover any security related issues, please email security@nic0.me instead of using the issue tracker.\n\n## Testing\n\n``` bash\n$ phpunit\n```\n\n## Contributing\nPull requests are very welcome! If they include tests, even better. This project follows PSR-2 coding standards, please make sure your pull requestst do too.\n\n## License\n\n[![License](https://img.shields.io/packagist/l/nicoSWD/putio.svg)](https://packagist.org/packages/nicoswd/putio)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoswd%2Fput.io-api-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicoswd%2Fput.io-api-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoswd%2Fput.io-api-v2/lists"}