API GetAchievementInfo

Returns info for an achievement.
 id, name, points, completed, month, day, year, description, flags,
 icon, rewardText, isGuild, wasEarnedByMe, earnedBy, isStatistic
 = GetAchievementInfo(achievementID)
 = GetAchievementInfo(categoryID, index)
==Arguments==
:;achievementID: - ID of the achievement to retrieve information for.
----
:;categoryID: - Achievement category ID.
:;index: - An offset into the achievement category, between 1 and (categoryID)
==Returns==
Index	Param 	Type	Description
1 	id 	 	Achievement ID.
2 	name 	 	The Name of the Achievement.
3 	points 	 	Points awarded for completing this achievement.
4 	completed 	 	Returns true/false depending if you've completed this achievement on any character.
5 	month 	 	Month this was completed. Returns nil if Completed is false.
6 	day 	 	Day this was completed. Returns nil if Completed is false.
7 	year 	 	Year this was completed. Returns nil if Completed is false. Returns number of years since 2000.
8 	description 	 	The Description of the Achievement.
9 	flags 	 	A bitfield that indicates achievement properties:
10 	icon 	 	The fileID of the icon used for this achievement
11 	rewardText 	 	Text describing the reward you get for completing this achievement.
12 	isGuild 	 	Returns true/false depending if this is a guild achievement.
13 	wasEarnedByMe	 	Returns true/false depending if you've completed this achievement on this character.
14 	earnedBy 	 	Your character name if you've completed this achievement, or the name of the first character to complete this achievement.
15 	isStatistic 	 	Returns true/false depending if this is a statistic.
==Patch changes==
==See also==
* 
*