2017 © Pedro Peláez
 

library phs

A PHP Wrapper for the speedrun.com-API

image

prefixaut/phs

A PHP Wrapper for the speedrun.com-API

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHS - Preprocessed Hyper Speedruns

A PHP Wrapper for the @speedruncom api, (*1)

Installation

Composer

Best way to use it is via composer since it already handles the autoloading., (*2)

composer require prefixaut/phs

Git

Clone the repo and setup the autoloading manually, (*3)

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, (*4)

The Versions

15/08 2017

dev-master

9999999-dev http://prefixaut.net

A PHP Wrapper for the speedrun.com-API

  Sources   Download

MIT

The Requires

  • php ^5.4 || ^7.0
  • lib-curl *

 

The Development Requires

api wrapper prefixaut speedrun speedruns speedrun.com