World of Warcraft Armory Data Item Update
This is a follow-up to one of my previous entries about World of Warcraft Armory Data. In this entry I will focus on the newly added Item pages which add a wealth of information about the items in game with the ability to even search for upgrades.
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)

http://armory.worldofwarcraft.com/item-tooltip.xml...;
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.
Accept: text/xml
In order to limit the data you get back to just the XML data.
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?
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
Thanks!
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.