API GetItemInfoInstant

Returns readily available info for an item.
 itemID, itemType, itemSubType, itemEquipLoc, icon, classID, subclassID = GetItemInfoInstant(item) 
==Arguments==
:;item: : 
::* Accepts any valid item ID.
::* Accepts an item link, or in item:%d format.
::* Accepts a localized item name but this requires the item to be or have been in the player's inventory (bags/bank) for that session.
==Returns==
:;itemID: - ID of the item.
:;itemType: : ItemType - The localized type name of the item: Armor, Weapon, Quest, etc.
:;itemSubType: : ItemType - The localized sub-type name of the item: Bows, Guns, Staves, etc.
:;itemEquipLoc: : ItemEquipLoc - The inventory equipment location in which the item may be equipped e.g. "INVTYPE_HEAD", or an empty string if it cannot be equipped.
:;icon: : FileID - The texture for the item icon.
:;classID: : ItemType - The numeric ID of itemType
:;subclassID: : ItemType - The numeric ID of itemSubType
==Details==
* This function only returns info that don't require a query to the server. Which has the advantage over () it will always return data for valid items.
==Example==
* Prints item information for Silk Cloth
/dump GetItemInfoInstant(4306)
[1] = 4306, -- itemID
[2] = "Tradeskill", -- itemType
[3] = "Cloth", -- itemSubType
[4] = "", -- itemEquipLoc
[5] = 132905, -- icon
[6] = 7, -- classID
[7] = 5 -- subclassID
==Patch changes==