Skip to content

Documentation


Documentation / @blizzard-api/wow / accountDecorCollection

Function: accountDecorCollection() ​

accountDecorCollection(token?): ProtectedResource<AccountDecorCollectionResponse>

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

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

the housing decor an account has collected.