item-info.xml
Description
Contains information on item including base stats, sell price, reagent requirements if it is a craftable and quest information if it is from a quest along with info on what it disenchants into. Based on the type of item, the resulting XML will be different. For instance, the createdBy node only exists in craftable items while the rewardFromQuests node only exists for a quest drop. So make sure to check the existence of a particular node before trying to make use of it.
Parameters
i - Item Number
search.xml - Item Upgrade Search
Description
The search.xml is used for several functions of the Armory site but since this entry is specifically about items lets look at how to use the search.xml to find item upgrades. The item upgrade search has to be one of the coolest features added to the Armory. The ability to search for upgrades to existing gear and see where it stacks up is invaluable to planning time spent in World of Warcraft. Especially for a casual player like me. The item upgrade search customizes the results based on the type of item. For instance tanking gear will focus on tanking stats like stamina and defense while caster gear would focus on spell critical and spell damage.
Parameters
pn - Player Name
pr - Player Realm
pi - Player Item Number
searchType - Search Type is item (Optional)
sf - Sort Field. Can be itemname, itemLevel, requiredLevel, type, source, col1, col2, col3 or relevance (Optional)
sd - Sort Direction. Can be a for ascending or d for descending order (Optional)
p - Page Number. Default is 1 (Optional)
Jun 30, 2007 at 11:32 AM After extensive digging through the armory's XML and XSL files, I've found a reliable source for item information that can be extracted through XML. The url is:
http://armory.worldofwarcraft.com/item-tooltip.xml?id=<itemid>
I've already created a perl script to parse the item data to use in WoWWiki tooltip entries. There are a few things that you may need to get from other sources. Happy parsing.
Jun 30, 2007 at 11:35 AM Also, if you are pulling the information off of the Armory using a script, you may want to add the header to your HTTP request:
Accept: text/xml
In order to limit the data you get back to just the XML data.
Jul 4, 2007 at 9:54 AM Awesome find. Thanks for the info.
Aug 27, 2007 at 4:20 AM Did anyone discover how to extract specific attributes from an item?
If you check an "of the something" item xml from the item-tooltip or the item-info, it will only give you that the item as an "<random enchantment>"
How can I get the specific enchant of an item someone's using?
Aug 31, 2007 at 6:41 AM I took a look and I think it may center around the randomPropertiesId attribute in each of the item nodes of the character sheet. What isn't clear yet is how to associate that number to the properties since some items "of the" have random stats. I have seen the same named item with different stat combos like one having 8 stam and 8 strength while the same named item might have 9 stam and 8 strength.
Aug 31, 2007 at 7:02 AM I have discovered the solution;
You need to access the xml of the page item-tooltip.xml
This page receives the following parameters:
i= the id of the item
n= the character name
r= the realm of the character
if you only pass the parameter "i", the xml return the generic information of the itme (the one with "<random enchantment>"
But if you pass "n" and "r" and the corresponding character is using the item "i", then the xml returns the specific item information.
Regards
Sep 8, 2007 at 2:33 PM Is there an xml file on the armory site that has a key or index to all items? Something that could be used to iterate through the item-detail files. I'd like to be able to pull the WoW data so that I can index it differently for other searching approaches, but need to be able to pull or get a feed of all the available items. Any suggestions?
Thanks!
Sep 13, 2007 at 9:45 AM Reply to Matt Walter:
Unfortunatly it's not accisble or so it seems. I have trying to go through all the files there is something in the http://eu.wowarmory.com/data/en_gb/ folder. For instance you can load classes.xml and im pretty sure all the other data files are in here somewhere, i just can't figure out how to access them.
Sep 18, 2007 at 6:23 AM I don't know of any files. Your best bet is to base it off of players. Run through all the guilds on a couple of realms and only record new items that you haven't seen. You will probably want to do this task a couple of times.
Dec 27, 2007 at 3:22 PM Hey Matt, I was looking around your site and I am actually looking for a solution to pretty much the same problem. I am trying to find a way to extract out actual item attributes. I do know that the XML feeds from Wowhead.com actually will give you the attribute data, but parsing it seems like an unbearable task since the <htmlTooltip> tag's text is formatted for appearances and not for extraction.
Dec 28, 2007 at 7:09 AM To answer your question, I made another entry with a couple of ideas on how to perform item data mining: http://blog.shooksweb.com/index.cfm/2007/12/28/Ways-to-retrieve-World-of-Warcraft-Item-Information