phpLoL is a library to access League of Legends statistics via php
###Standalone use:
git clone https://github.com/zlokomatic/phpLoL.git
- composer install
###As dependency:
-
create a composer.json and define this dependencies.
{ "repositories": [ { "type": "git", "url": "https://github.com/zlokomatic/phpLoL.git" }, { "type": "git", "url": "https://github.com/zlokomatic/SabreAMF.git" } ], "require": { "zlokomatic/phpLoL": "*" }, "minimum-stability": "dev" }
-
composer install
change
private $clientVersion = ""
to current client Version (e.g. 3.11.13_09_13_11_54)
Avaiable functions are:
- getSummonerByName($name)
- getAllPublicSummonerDataByAccount($accountid)
- getSummonerNames(array $accountIds)
- getRecentGames($accountId)
- getPlayerStatsByAccountId($accountId)
- getAggregatedStats($accountId)
- getAllLeaguesForPlayer($summonerId)
- Made project composer compliant
- lolrtmpsclient
- SabreAMF