dev-master
9999999-dev https://github.com/chrisob120/wowsdk-phpPHP SDK for Blizzard's WoW API
MIT
The Requires
- php >=5.6.0
- guzzlehttp/guzzle ~6.0
The Development Requires
api php sdk wow world of warcraft wowapi
PHP SDK for Blizzard's WoW API
PHP WoW SDK is an SDK to interact the World of Warcraft API., (*2)
Note: This library utilizes GuzzlePHP, (*3)
Composer is a dependency management tool for PHP which will allow you to easily add WoW SDK to your project. Simply add "chrisob120/wowsdk-php" to your project's composer.json file., (*4)
{ "require": { "chrisob120/wowsdk-php": "1.0.*" } }
The WowApi class contains the services that hold the methods which allow you to access the WoW API. Basic access is quite simple and only requires your mashery API key., (*5)
use WowApi\WowApi; $api = new WowApi('your mashery api key'); $api->bossService->getBoss(24723);
All optional parameters default to the US region with the 'en_US' locale. These options can be adjusted as shown below. Here is a list of different regions and locales provided by Blizzard., (*6)
use WowApi\WowApi; $options = [ 'region' => 'eu', 'locale' => 'en_GB' ]; $api = new WowApi('your mashery api key', $options); $api->bossService->getBoss(24723);
For more information, check out the wiki which includes: * Caching * Examples * OAuth * Parameters * Services, (*7)
PHP SDK for Blizzard's WoW API
MIT
api php sdk wow world of warcraft wowapi