Documentation / @blizzard-api/classic-wow / item
Function: item()
item(
namespace,itemId):object
Defined in: classic-wow/src/item/index.ts:19
Get an item by ID.
Parameters
namespace
"static-classic1x" | "static-classic" | "static-classicann"
The namespace to use. See StaticClassicNamespaces.
itemId
number
The item ID.
Returns
The item. See ItemResponse.
_responseType?
optional_responseType?:ItemResponse
Internal
The response type of the resource
namespace?
optionalnamespace?:BlizzardNamespaces
parameters?
optionalparameters?:Record<string,unknown>
path
path:
string
The request path. Dynamic path segments should be encoded with encodeURIComponent.