Skip to content

Documentation


Documentation / @blizzard-api/d3 / accountHeroItems

Function: accountHeroItems() ​

accountHeroItems(battleTag, heroId): object

Defined in: d3/src/profile/index.ts:54

Returns the items for the specified battle tag and hero ID.

Parameters ​

battleTag ​

string

The battle tag of the account.

heroId ​

number

The ID of the hero.

Returns ​

The hero items resource. See AccountHeroItemsResponse.

_responseType? ​

optional _responseType?: AccountHeroItemsResponse

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.