game-scan/wow
最新稳定版本:v0.4.3
Composer 安装命令:
composer require game-scan/wow
包简介
World of Warcraft api module
README 文档
README
Librairy that make easier the use of the API WoW. Just provide credentials and use class to gather data from api. This librairy has no association with Blizzard Entertainment.
Install
Via Composer
$ composer require game-scan/wow
Requirement
Set .env file with api credential.
WOW_API_KEY=SET_YOUR_API_KEY
You could get an api key on Battle net developper website
Usage
For instance go get player data you could use the following exemple
$api = (new GameScan\WoW\WowApiRequest(new GameScan\WoW\ApiConfiguration())); $api->setHost(new GameScan\WoW\HostInformation\EuHostInformation()); $player = new GameScan\WoW\Entity\Player($api, $playerRealm , $playerName); $playerThumbnailUrl = "http://eu.battle.net/static-render/eu/" . $player->thumbnail(); $playerIlvl = $player->averageItemLevel(); $playerLevel = $player->level();
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email contact@game-scan.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 49
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-18