1# Generated by scripts/unasync.py from src/wow/_async/resources/account.py. Do not edit.
2"""Routes of the Account Profile API.
3
4Account profile has not been recorded live; see :mod:`wow.models.account` for sourcing.
5"""
6
7from wow._sync._resource import Resource
8from wow.models.account import AccountProfile
9
10__all__ = ["Account"]
11
12
[docs]
13class Account(Resource):
14 """``client.account``: the authenticated user's WoW Forever accounts and characters."""
15
16 __slots__ = ()
17
[docs]
18 def profile(self) -> AccountProfile:
19 """Get the authenticated user's account profile. Needs a user token with the ``wow.profile`` scope."""
20 return self._get("profile", "/profile/user/wow", AccountProfile)