Skip to content

Documentation


Documentation / @blizzard-api/wow / pet

Function: pet() ​

pet(petId): object

Defined in: wow/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? ​

optional namespace?: BlizzardNamespaces

parameters? ​

optional parameters?: Record<string, unknown>

path ​

path: string

The request path. Dynamic path segments should be encoded with encodeURIComponent.