API GetItemSpell

Returns the spell effect for an item.
 spellName, spellID = GetItemSpell(itemID or itemString or itemName or itemLink)
==Arguments==
One of the following four ways to specify which item to query:
:;itemId: - Numeric ID of the item.
:;itemName: - Name of an item owned by the player at some point during this session.
:;itemString: - A fragment of the itemString for the item, e.g. "item:30234:0:0:0:0:0:0:0" or "item:30234".
:;itemLink: - The full itemLink.
==Returns==
:;spellName: - The name of the spell.
:;spellID: - The spell's unique identifier.
==Details==
* Useful for determining whether an item is usable.