account ======= .. py:module:: wow.models.account .. autoapi-nested-parse:: Models for the Account Profile API. Blizzard has not announced or documented a Forever profile API. This shape comes from community probing (https://mhuijskens.com/WoWForever/Api/), not from a recorded live response: it needs a user token this package cannot obtain on its own. .. py:class:: AccountCharacter Bases: :py:obj:`wow.models._common.Model` One character on a WoW Forever account. Shape from community probing; Blizzard has not documented it. Forever characters carry a ``surname`` alongside their first ``name``, and omit the ``realm`` field retail and Classic characters have; the realm only shows up in :attr:`protected_character`'s link, which :attr:`realm_id` parses. .. py:attribute:: character :type: wow.models._common.Link .. py:attribute:: protected_character :type: wow.models._common.Link .. py:attribute:: name :type: str .. py:attribute:: surname :type: str .. py:attribute:: id :type: int .. py:attribute:: playable_class :type: wow.models._common.IdName .. py:attribute:: playable_race :type: wow.models._common.IdName .. py:attribute:: gender :type: wow.models._common.TypedName .. py:attribute:: faction :type: wow.models._common.TypedName .. py:attribute:: level :type: int .. py:attribute:: realm :type: wow.models._common.Ref | None :value: None .. py:property:: realm_id :type: int | None The realm id parsed from :attr:`protected_character`'s link, or ``None`` if it cannot be parsed. .. py:class:: WowAccount Bases: :py:obj:`wow.models._common.Model` One Battle.net account's WoW Forever characters. Shape from community probing; Blizzard has not documented it. .. py:attribute:: id :type: int .. py:attribute:: characters :type: tuple[AccountCharacter, ...] .. py:class:: AccountProfile Bases: :py:obj:`wow.models._common.Document` The authenticated user's account profile: every linked account's Forever characters. Shape from community probing; Blizzard has not documented it. .. py:attribute:: wow_accounts :type: tuple[WowAccount, ...]