Documentation / @blizzard-api/classic-wow / creature
Function: creature()
creature(
namespace,creatureId):object
Defined in: classic-wow/src/creature/index.ts:21
Returns a creature by ID.
Parameters
namespace
"static-classic1x" | "static-classic" | "static-classicann"
The namespace to use. See StaticClassicNamespaces.
creatureId
number
The creature ID.
Returns
The creature. See CreatureResponse.
_responseType?
optional_responseType?:CreatureResponse
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.