API C TradeSkillUI.GetRecipeInfo

Returns information for a recipe.
 recipeInfo = C_TradeSkillUI.GetRecipeInfo(recipeSpellID [, recipeLevel])
==Arguments==
:;recipeSpellID:
:;recipeLevel:
==Returns==
:;recipeInfo:
==Example==
The following snippet lists the names of all the recipes for the current trade skill:
for _, id in pairs(C_TradeSkillUI.GetAllRecipeIDs()) do
	local recipeInfo = C_TradeSkillUI.GetRecipeInfo(id)
	print(recipeInfo.recipeID, recipeInfo.name)
end
==Patch changes==