Skip to content

Documentation


Documentation / @blizzard-api/wow / accountToysCollectionSummary

Function: accountToysCollectionSummary() ​

accountToysCollectionSummary(token?): ProtectedResource<AccountToysCollectionSummaryResponse>

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

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<AccountToysCollectionSummaryResponse>

a summary of the toys an account has obtained.