specId to actual spec

API Discussion
Hello,

When I request the PVP leaderboards there is a 'specId' for each player. But how do I convert the specId to the actual spec? To what do I have to compare it to get the spec name?

Thank you.
SeTi
I'm just going to BUMP this post because of all the bot spam on this forum.
this would refer to the id in the talents api if i remember correctly
Nope it doesn't, I searched the entire result for it, and for example there is nowhere to be found a SpecId of '105', which means 'Resto Druid' if I look it up manually on the armory.
specId,specName,className
62,Arcane,Mage
63,Fire,Mage
64,Frost,Mage
65,Holy,Paladin
66,Protection,Paladin
70,Retribution,Paladin
71,Arms,Warrior
72,Fury,Warrior
73,Protection,Warrior
102,Balance,Druid
103,Feral,Druid
104,Guardian,Druid
105,Restoration,Druid
250,Blood,"Death Knight"
251,Frost,"Death Knight"
252,Unholy,"Death Knight"
253,"Beast Mastery",Hunter
254,Marksmanship,Hunter
255,Survival,Hunter
256,Discipline,Priest
257,Holy,Priest
258,Shadow,Priest
259,Assassination,Rogue
260,Combat,Rogue
261,Subtlety,Rogue
262,Elemental,Shaman
263,Enhancement,Shaman
264,Restoration,Shaman
265,Affliction,Warlock
266,Demonology,Warlock
267,Destruction,Warlock
268,Brewmaster,Monk
269,Windwalker,Monk
270,Mistweaver,Monk
Woah thanks, but how did you get that list if I may ask? What API did you use?
02/24/2015 07:51 AMPosted by SeTi
Woah thanks, but how did you get that list if I may ask? What API did you use?


ChrSpecialization.dbc from the game files. Sorry I can't tell you more here, you'll have to Google for more info.
It should also be possible to extract that info via a macro or extension. Folks over on the WoW UI and Macro forums should be able to lend a hand.

Join the Conversation

Return to Forum