library battlenet-api-client
A package to retrieve information from the Battle.net API
jleagle/battlenet-api-client
A package to retrieve information from the Battle.net API
- Saturday, November 28, 2015
- by Jleagle
- Repository
- 4 Watchers
- 2 Stars
- 53 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
battlenet-api-client
, (*1)
A package to retrieve information from the Battle.net API (https://dev.battle.net/), (*2)
Pros
- Code hinting
- Contains all game APIs (Diablo 3, StarCraft 2 and WoW)
- Contains authed account and community APIs, with helper functions to get OAuth tokens
Usage
Instantiate the package using your games class, passing though your API key, ServerLocation and ResponseLocale:, (*3)
$warcraft = new Warcraft(
$key,
ServerLocations::EU,
ResponseLocales::EN_GB
);
Example API calls:, (*4)
// Retrieve auction data
$auctions = $warcraft->getAuctions('outland');
// Retrieve realm list
$realms = $warcraft->getRealms();
// Retrieve achievement details
$achievement = $warcraft->getAchievement(2144);
dev-master
9999999-dev
A package to retrieve information from the Battle.net API
Sources
Download
MIT
The Requires
battle
starcraft
blizzard
wow
diablo
battle.net
warcraft
battlenet
0.1.0
0.1.0.0
A package to retrieve information from the Battle.net API
Sources
Download
MIT
The Requires
battle
starcraft
blizzard
wow
diablo
battle.net
warcraft
battlenet
0.0.1
0.0.1.0
A package to retrieve information from the Battle.net API
Sources
Download
The Requires
battle
starcraft
blizzard
wow
diablo
battle.net
warcraft
battlenet