Documentation / @blizzard-api/wow-forever / pet
Function: pet()
pet(
petId):object
Defined in: wow-forever/src/pet/index.ts:17
Get a pet by ID.
Parameters
petId
number
The pet ID.
Returns
The pet. See PetResponse.
_responseType?
optional_responseType?:PetResponse
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.