Skip to content

davidnormo/hon-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HoN Statistics API PHP

A PHP lib for the HoN Statistics API.

Usage:

use HonAPI;
$client = new HonClient();
//get ranked player stats for testor3
$client->getPlayerStats()
	   ->byNickname('testor3');

Unit Tests

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.

Roadmap

1.0.0

  • Finish API:
    • Match
    • Multi-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

About

A PHP lib for the HoN Statistics API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published