Skip to content

Documentation


Documentation / @blizzard-api/wow-forever / creatureType

Function: creatureType() ​

creatureType(creatureTypeId): object

Defined in: wow-forever/src/creature/index.ts:92

Returns a creature type by ID.

Parameters ​

creatureTypeId ​

number

The creature type ID.

Returns ​

The creature type. See CreatureTypeResponse.

_responseType? ​

optional _responseType?: CreatureTypeResponse

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.