ESODecoded

GetItemLinkEquipType

ESO Lua API function — used by 91 of the 3,030 addons we indexed (combined 49,282,574 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetItemLinkEquipType(string itemLink)

Returns: equipType

Real usage — from LibLazyCrafting

local function getPatternInfo(link, weight)
	local equipType = GetItemLinkEquipType(link)
	local patternDirectorInfo = equipTypes[equipType]

Short excerpt from the shipping addon LibLazyCraftingits 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
LibLazyCrafting6,538,592
CraftStore5,176,147
Srendarr - Aura, Buff & Debuff Tracker5,058,870
AwesomeGuildStore4,722,462
LibSets (All set items ingame & preview. lua API + excel sheet)4,357,189
Master Merchant 3.03,883,523