Skip to content

Documentation


Documentation / @blizzard-api/wow / toy

Function: toy() ​

toy(toyId): object

Defined in: wow/src/toy/index.ts:10

Get a toy by ID.

Parameters ​

toyId ​

number

The toy ID.

Returns ​

The toy. See ToyResponse.

_responseType? ​

optional _responseType?: ToyResponse

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.