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.
$ composer require game-scan/wow
Set .env file with api credential.
You could get an api key on Battle net developper website
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();
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.