Skip to content

Documentation


Documentation / @blizzard-api/wow / creature

Function: creature() ​

creature(creatureId): object

Defined in: wow/src/creature/index.ts:20

Get a creature by ID.

Parameters ​

creatureId ​

number

The creature ID.

Returns ​

The creature. See CreatureResponse.

_responseType? ​

optional _responseType?: CreatureResponse

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.