API GetProfessionInfo

Gets details on a profession from its index including name, icon, and skill level.
 name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine, skillModifier, specializationIndex, specializationOffset = GetProfessionInfo(index)
==Arguments==
:;index: - The skillLineIDs from 
==Returns==
:name, icon, skillLevel, maxSkillLevel, numAbilities, spelloffset, skillLine, skillModifier
:;name: - The localized skill name
:;icon: - the location of the icon image
:;skillLevel: - the current skill level
:;maxSkillLevel: - the current skill cap (75 for apprentice, 150 for journeyman etc.)
:;numAbilities: - The number of abilities/icons listed. These are the icons you put on your action bars.
:;spelloffset: - The offset id of the first Spell of this profession. (you can CastSpell(spelloffset + 1, "Spell") to use the first spell of this profession)
:;skillLine: - Reference to the profession.
:;skillModifier: - Additional modifiers to your profession levels. IE: Lures for Fishing.
:;specializationIndex: - A value indicating which specialization is known (ie. Transmute specialist for Alchemist)
:;specializationOffset: - Haven't figured this one out yet
==Details==
This also seems to return some kind of data on the talent trees and guild perks.
==Patch changes==