A PHP lib for the HoN Statistics API.
Usage:
use HonAPI;
$client = new HonClient();
//get ranked player stats for testor3
$client->getPlayerStats()
->byNickname('testor3');
Install PHPUnit using composer:
$ composer install
The unit tests are located in the tests/
dir. Runing:
$ ./test
from the project root directory will run the unit tests.
1.0.0
- Finish API:
MatchMulti-Match- Heroes
- Items
Add Error/Exception handling
1.0.1
- Add fetchArray - decodes JSON
1.1.x
- Add response objects:
- Player Statistics
- Hero Statistics
- Match History
- Match
- Hero
- Item