Documentation / @blizzard-api/classic-wow / creatureType
Function: creatureType()
creatureType(
namespace,creatureTypeId):object
Defined in: classic-wow/src/creature/index.ts:109
Returns a creature type by ID.
Parameters
namespace
"static-classic1x" | "static-classic" | "static-classicann"
The namespace to use. See StaticClassicNamespaces.
creatureTypeId
number
The creature type ID.
Returns
The creature type. See CreatureTypeResponse.
_responseType?
optional_responseType?:CreatureTypeResponse
Internal
The response type of the resource
namespace?
optionalnamespace?:BlizzardNamespaces
parameters?
optionalparameters?:Record<string,unknown>
path
path:
string
The request path. Dynamic path segments should be encoded with encodeURIComponent.