Are the class and race ID's static?

#1 - Sept. 11, 2012, 2:20 a.m.
Blizzard Post
I've completed a very simple API integration here:
http://macro-wow.com/macro/deadly-calm-and-heroic-strike/

(it has rudimentary error handling so let's hope the API stays up until I have more time)

I hard coded the class ID's based off what the current class and race API returns - are these going to be static or should I ping it every time to get the correct labels?

I ask because Monk has a lower ID number than Druid which would lead me to believe they may change sometimes?
Forum Avatar
Battle.net Developer
#4 - Sept. 11, 2012, 3:10 a.m.
Blizzard Post
They shouldn't change. I can't speak for the entire company and say that they never will of course ;-) but they should be static enough. If they did ever change it would be in a huge patch that would probably require most API users to update some of their code anyway.