item subClass

90 Gnome Death Knight
11770
The api documentation shows that we can find item classes by going to /api/wow/data/item/classes, I'm wondering if there's a similar url for subclasses, I did try just changing the url to subclasses but no luck.

Or has someone made an array of them they'd like to share?
Reply Quote
100 Night Elf Hunter
14320
class => subclass array

'0' => array('0' => 'Consumable','5' => 'Food & Drink','1' => 'Potion','2' => 'Elixir','3' => 'Flask','7' => 'Bandage','6' => 'Item Enhancement','4' => 'Scroll','8' => 'Other'),
'1' => array('0' => 'Bag','1' => 'Soul Bag','2' => 'Herb Bag','3' => 'Enchanting Bag','4' => 'Engineering Bag','5' => 'Gem Bag','6' => 'Mining Bag','7' => 'Leatherworking Bag','8' => 'Inscription Bag','9' => 'Tackle Box'),
'2' => array('0' => 'Axe','1' => 'Axe','2' => 'Bow','3' => 'Gun','4' => 'One-Handed Mace','5' => 'Two-Handed Mace','6' => 'Polearm','7' => 'One-Handed Sword','8' => 'Two-Handed Sword','9' => 'Obsolete','10' => 'Stave','11' => 'One-Handed Exotic','12' => 'Two-Handed Exotic','13' => 'Fist Weapon','14' => 'Miscellaneous','15' => 'Dagger','16' => 'Thrown','17' => 'Spear','18' => 'Crossbow','19' => 'Wand','20' => 'Fishing Pole'),
'3' => array('0' => 'Red','1' => 'Blue','2' => 'Yellow','3' => 'Purple','4' => 'Green','5' => 'Orange','6' => 'Meta','7' => 'Simple','8' => 'Prismatic','9' => 'Hydraulic','10' => 'Cogwheel'),
'4' => array('0' => 'Miscellaneous','1' => 'Cloth','2' => 'Leather','3' => 'Mail','4' => 'Plate','5' => 'Bucklers','6' => 'Shield','7' => 'Libram','8' => 'Idol','9' => 'Totem','10' => 'Sigil','11' => 'Relic'),
'5' => array('0' => 'Reagent'),
'6' => array('0' => 'Wand(OBSOLETE)','1' => 'Bolt(OBSOLETE)','2' => 'Arrow','3' => 'Bullet','4' => 'Thrown(OBSOLETE)'),
'7' => array('0' => 'Trade Goods','10' => 'Elemental','15' => 'Weapon Enchantment - Obsolete','5' => 'Cloth','6' => 'Leather','7' => 'Metal & Stone','8' => 'Meat','9' => 'Herb','12' => 'Enchanting','4' => 'Jewelcrafting','1' => 'Parts','3' => 'Devices','2' => 'Explosives','13' => 'Materials','11' => 'Other','14' => 'Item Enchantment'),
'9' => array('0' => 'Book','1' => 'Leatherworking','2' => 'Tailoring','3' => 'Engineering','4' => 'Blacksmithing','5' => 'Cooking','6' => 'Alchemy','7' => 'First Aid','8' => 'Enchanting','9' => 'Fishing','10' => 'Jewelcrafting','11' => 'Inscription'),
'11' => array('0' => 'Quiver(OBSOLETE)','1' => 'Quiver(OBSOLETE)','2' => 'Quiver','3' => 'Ammo Pouch'),
'12' => array('0' => 'Quest'),
'13' => array('0' => 'Key','1' => 'Lockpick'),
'14' => array('0' => 'Permanent'),
'15' => array('0' => 'Junk','1' => 'Reagent','2' => 'Pet','3' => 'Holiday','4' => 'Other','5' => 'Mount'),
'16' => array('1' => 'Warrior','2' => 'Paladin','3' => 'Hunter','4' => 'Rogue','5' => 'Priest','6' => 'Death Knight','7' => 'Shaman','8' => 'Mage','9' => 'Warlock','11' => 'Druid'));

Reply Quote
90 Gnome Death Knight
11770
Thanks Ulm; you had to make this up yourself yes? Just curious how to maintain it should bliz make changes in the future.
Reply Quote
100 Night Elf Hunter
14320
the only changes would be new professions most of this info gan be found in the blizzard ui files where i got mine lol
Reply Quote
Ulminia,

Just curious where exactly you pull the subclass information from? I'm looking in the UI files and not finding anything except global strings, which doesn't help.

It sure would be nice to have a /data/item/subclass API!
Reply Quote
Battle.net Developer
We will look into adding this to the /data/item/classes data
Reply Quote
Battle.net Developer
Subclass info added to /data/item/classes
Reply Quote
This is some kind of awesome. Thanks, Peratryn! :)
Reply Quote
100 Night Elf Hunter
14320
awsome .... no more dbc extracting for me...
Reply Quote
3 Night Elf Druid
0
Woah, wait, you can't just sneak a new data resource in just like that... Wait, it seems you can... ;)

Thanks a lot, this allowed me to shave off quite a bit of localization code in DarkTip. :)

While you are at it, how about api info on itemsets, reforges and enchants...? *g*
Reply Quote
09/04/2012 07:04 PMPosted by Ulminia
awsome .... no more dbc extracting for me...


Haha, I'm glad I didn't have to do that again! DBC extracting was a royal PITA when I had to do it for Rawr. >_<
Reply Quote
90 Gnome Death Knight
11770
Woo! I LOVE you guys :)
Reply Quote

Please report any Code of Conduct violations, including:

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.

Forums Code of Conduct

Report Post # written by

Reason
Explain (256 characters max)

Reported!

[Close]