2017 © Pedro Peláez
 

library php-lol-api

PHP League of Legends API

image

elogank/php-lol-api

PHP League of Legends API

  • Saturday, January 17, 2015
  • by Divi
  • Repository
  • 13 Watchers
  • 30 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 11 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Since the October 1st 2014, a custom API is not fully allowed by the League of Legend's Terms of Use, only some API calls are allowed. More information : https://developer.riotgames.com


League of Legends PHP API

Unofficial RTMP API fully PHP and asynchronous for League of Legends.
With this API you can retrieve some data about summoners in real-time directly from Riot servers., (*1)

You can use the API client from this repository : https://github.com/EloGank/lol-php-api-client, (*2)

Features

  • A ready-to-use API server
  • A ready-to-use Virtual Machine (no manual installation)
  • Use the powerful Symfony 2 framework components
  • Allow multi LoL account to improve the response speed
  • Fully aynschronous (with ZeroMQ & mutli process)
  • Multi region (EUW, NA, EUNE, BR, TR, RU, KR, LAN, LAS, OCE & PBE)
  • Anti-overload system (avoid temporary client ban when you make too many request)
  • Allow to use native RTMP API or custom API with our controllers
  • Fully logged in file, redis, and console (usefull for developpers)
  • Automatic restart when a server is busy
  • Periodic verification for client timeout
  • Automatic restart when a client timeout (due to network/server connection error for example)
  • Automatic update when client version is outdated
  • Allow mutliple output format (JSON, PHP native (serialized) and XML)
  • Allow concurrent connections (multiple connections at the same time, using ReactPHP)
  • Allow to bind the server to a specific IP address (allow-only)
  • Easy to override

Installation

How to install this API
Additional installation instructions for the production environment, (*3)

Configuration

How to configure this API, (*4)

How to use

How to use this API, (*5)

Route list

The routing component, (*6)

Documentation

The document is stored in the doc folder of this repository. Here, the main titles :, (*7)

Important notes

Use a development account for your tests, and not your real live game account.
Be aware that only one API/person can be connected at the same time with the same account. If you have production server and development server, use two distinct accounts., (*8)

Known issues

  • Fix issue on SIGINT signal (CTRL + C) (ReactPHP issue : https://github.com/reactphp/react/issues/296)

Reporting an issue or a feature request

Feel free to open an issue, fork this project or suggest an awesome new feature in the issue tracker.
When reporting an issue, please include your asynchronous configuration (enabled or not)., (*9)

Credit

See the list of contributors.
The RTMP client class is a PHP partial rewrite of the awesome Gabriel Van Eyck's work., (*10)

Licence

Creative Commons Attribution-ShareAlike 3.0, (*11)

League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends (c) Riot Games, Inc., (*12)

The Versions