Skip to content

Documentation


Documentation / @blizzard-api/d3 / item

Function: item() ​

item(itemSlugAndId): object

Defined in: d3/src/item/index.ts:10

Returns the item information for the specified item slug and ID.

Parameters ​

itemSlugAndId ​

string

The slug and ID of the item, example: "corrupted-ashbringer-Unique_Sword_2H_104_x1".

Returns ​

The item resource. See ItemResponse.

_responseType? ​

optional _responseType?: ItemResponse

Internal

The response type of the resource

namespace? ​

optional namespace?: BlizzardNamespaces

parameters? ​

optional parameters?: Record<string, unknown>

path ​

path: string

The request path. Dynamic path segments should be encoded with encodeURIComponent.