ESODecoded

GetAchievementInfo

ESO Lua API function — used by 89 of the 3,030 addons we indexed (combined 64,289,847 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetAchievementInfo(integer achievementId)

Returns: string name, string description, integer points, textureName icon, bool completed, string date, string time

Real usage — from LoreBooks

        for conditionIndex, achievementIndex in ipairs(conditionData) do
          local _, _, _, _, completed = GetAchievementInfo(achievementIndex)
          if not completed then

Short excerpt from the shipping addon LoreBooksits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
LoreBooks13,090,355
SkyShards12,943,031
Destinations8,211,449
Map Pins8,061,548
CraftStore5,176,147
LibQuestData4,916,044