Get the Desktop App for Battle.net Now
- All your games in 1 place
- Log in once
- Automatic game updates
This API has now reached version 3.4 and is growing rapidly.
Feel free to contact me with questions and suggestions.
### Features ###
* Extract all information from Battle.net armory
* Handles guilds, characters, arena teams and items.
* WoWHead integration for extracting remaining information
* WoWHead integration for easy tool tip links
* Full cache to limit connections and ensure speedy information
* Generates emblems based on guild tabard design
* Add your guild level to the emblem
* Built in sorting and filtering
* Locale support
and much much more..
Documentation of use:
Please let me know what you think of this and give me ideas on how to improve.
Edited by Growar on 9/5/2011 1:24 PM PDT
This is amazingly written. Thank you
I have questions about setting up the DB to work with this.
Specifying the username and password and database name should be the only changes I need to make to:
$GLOBALS['wowarmory']['db']['driver'] = 'mysql'; // Dont change. Only mysql supported so far.
$GLOBALS['wowarmory']['db']['hostname'] = '127.0.0.1'; // Hostname of server.
$GLOBALS['wowarmory']['db']['dbname'] = ''; //Name of your database
$GLOBALS['wowarmory']['db']['username'] = ''; //Insert your database username
$GLOBALS['wowarmory']['db']['password'] = ''; //Insert your database password
// Only use the two below if you have received API keys from Blizzard.
$GLOBALS['wowarmory']['keys']['private'] = ''; // if you have an API key from Blizzard
$GLOBALS['wowarmory']['keys']['public'] = ''; // if you have an API key from Blizzard
include('BattlenetArmory.class.php'); //include the main class
or do I need to change something else. Also do I need to specify in the database anything particular?
I'm sorry, I haven't worked a lot with php and mysql.
username and password and database name should be the only changes you need to make.
You should delete these two if you dont have a blizz api key.
Other than that i normally dont keep track of the forum posts here. Posting on sourceforge where you download is better. Gives me emails ;)
I am unable to get this functioning.
Looks like the user simply doesn't have access to the database I've set up but that's not the case. I've tested the connection and it's valid.
Edited by Zushiba on 10/25/2011 10:54 AM PDT
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.