Simply use "CraftIDToProfessionInfo = LibStub("CraftIDToProfessionInfo")" with libstub embeded to access.
spellIDToProfession(spellID) - Converts spellID to profession name
spellIDToName(spellID) - Returns the name of spellID
spellIDToIngredients(spellID) - Returns the main ingredient used in the CD
spellIDToSharedCD(spellID) - NYI Will return Table containing Items.