Skip to content

Documentation


Documentation / @blizzard-api/d3 / itemType

Function: itemType() ​

itemType(itemTypeSlug): object

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

Returns the item type information for the specified item type slug.

Parameters ​

itemTypeSlug ​

string

The slug of the item type, example: "sword2h"

Returns ​

The item type resource. See ItemTypeResponse.

_responseType? ​

optional _responseType?: ItemTypeResponse

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.