定制 game-scan/wow 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

game-scan/wow

最新稳定版本:v0.4.3

Composer 安装命令:

composer require game-scan/wow

包简介

World of Warcraft api module

README 文档

README

Latest Version on Packagist Software License Build Status Quality Score Total Downloads

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-18