blizzard-galaxy / api-supervisor
Blizzard API consumer and domain data mapper
0.2.0
2015-03-02 22:18 UTC
Requires
- php: >=5.3.0
- guzzlehttp/guzzle: 5.2.0
- jms/serializer: 0.16.*
- league/flysystem: 1.0.1
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is not auto-updated.
Last update: 2024-11-09 18:43:23 UTC
README
This package is a PHP integration layer for the Blizzard API. It contains methods for easily consuming the API and retrieving the information into dedicated entities.
Install
Via Composer
$ composer require blizzard-galaxy/api-supervisor
Usage
$starcraftClient = new StarcraftClient('YOUR_API_KEY', Region::EUROPE, Locale::EN_GB); $playerProfile = $starcraftClient->getPlayerProfile(2048419, 'LionHeart'); $ladderSummary = $starcraftClient->getLadderSummaryById(7500); $ladderSummary = $starcraftClient->getLadderSummaryGrandmaster(); $ladderSummary = $starcraftClient->getLadderSummaryGrandmasterLastSeason();
Testing
$ phpunit
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email petre@dreamlabs.ro instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.