Skip to content

Documentation


Documentation / @blizzard-api/wow / accountPetsCollectionSummary

Function: accountPetsCollectionSummary() ​

accountPetsCollectionSummary(token?): ProtectedResource<AccountPetsCollectionSummaryResponse>

Defined in: wow/src/account-profile/index.ts:76

Because this endpoint provides data about the current logged-in user's World of Warcraft account, it requires an access token with the wow.profile scope acquired via the Authorization Code Flow. See https://develop.battle.net/documentation/guides/using-oauth/authorization-code-flow

Parameters ​

token? ​

string

Optional OAuth 2.0 access token; alternatively, scope the client with withUserToken.

Returns ​

ProtectedResource<AccountPetsCollectionSummaryResponse>

a summary of the battle pets an account has obtained.