Skip to content

Documentation


Documentation / @blizzard-api/classic-wow / creatureFamily

Function: creatureFamily() ​

creatureFamily(namespace, creatureFamilyId): object

Defined in: classic-wow/src/creature/index.ts:48

Returns a creature family by ID.

Parameters ​

namespace ​

"static-classic1x" | "static-classic" | "static-classicann"

The namespace to use. See StaticClassicNamespaces.

creatureFamilyId ​

number

The creature family ID.

Returns ​

The creature family. See CreatureFamilyResponse.

_responseType? ​

optional _responseType?: CreatureFamilyResponse

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.