prefixaut / phs
This package is abandoned and no longer maintained.
No replacement package was suggested.
A PHP Wrapper for the speedrun.com-API
dev-master
2017-08-15 18:04 UTC
Requires
- php: ^5.4 || ^7.0
- lib-curl: *
Requires (Dev)
- phpunit/phpunit: ^6.2
This package is not auto-updated.
Last update: 2020-01-24 16:51:22 UTC
README
A PHP Wrapper for the @speedruncom api
Installation
Composer
Best way to use it is via composer since it already handles the autoloading.
composer require prefixaut/phs
Git
Clone the repo and setup the autoloading manually
Usage
Authentification
// Without Authentification $src = new PHS\v1\API(); // With Authentification $src = new PHS\v1\API('API_TOKEN'); // The token can also be provided later on $src->setAuth('API_TOKEN');
$src->engines->all([
'order' => "...",
// ... Other settings
]);
$src->users->get('USER');
License
This Project is licensed under the MIT License. Read more in the LICENSE
file