API GetAchievementInfo

Returns information about an Achievement. id, name, points, completed, month, day, year, description, flags, icon, rewardText, isGuild, wasEarnedByMe, earnedBy = GetAchievementInfo(achievementID or categoryID, index)

Arguments
Specify either  or
 * achievementID : - ID of the achievement to retrieve information for.
 * categoryID : - Achievement category ID.
 * index : - An offset into the achievement category, between 1 and (categoryID)