blizzard-galaxy/api-supervisor

Blizzard API consumer and domain data mapper

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 1

pkg:composer/blizzard-galaxy/api-supervisor

0.2.0 2015-03-02 22:18 UTC

This package is not auto-updated.

Last update: 2025-09-27 23:21:03 UTC


README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads SensioLabs Insight

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.