# GetItemInfoInstant is not in World of Warcraft Forever: write C_Item.GetItemInfoInstant

Forever 1.60.1 (70959), Interface 16001. An addon that calls `GetItemInfoInstant` stops at /reload with `attempt to call global 'GetItemInfoInstant' (a nil value)`. Write `C_Item.GetItemInfoInstant`; its arguments and returns may differ from the old GetItemInfoInstant, read them first. Page: https://wowaddons.gg/forever-api/C_Item.md

```lua
itemID, itemType, itemSubType, itemEquipLoc, icon, classID, subClassID = C_Item.GetItemInfoInstant(itemInfo)
```

May return nothing.

Arguments:
- `itemInfo`: ItemInfo

Returns:
- `itemID`: number
- `itemType`: cstring
- `itemSubType`: cstring
- `itemEquipLoc`: cstring
- `icon`: fileID
- `classID`: number
- `subClassID`: number

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
