blizzard-galaxy/api-supervisor
最新稳定版本:0.2.0
Composer 安装命令:
composer require blizzard-galaxy/api-supervisor
包简介
Blizzard API consumer and domain data mapper
README 文档
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.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-20