Xbox Live Client¶
Xbox Live Client
Basic factory that stores :class:XboxLiveLanguage, User authorization data
and available Providers
pythonxbox.api.client.log = logging.getLogger('xbox.api')
module-attribute
¶
pythonxbox.api.client.Session(auth_mgr)
¶
Source code in src/pythonxbox/api/client.py
request(method, url, include_auth=True, include_cv=True, **kwargs)
async
¶
Proxy Request and add Auth/CV headers.
Source code in src/pythonxbox/api/client.py
get(url, **kwargs)
async
¶
options(url, **kwargs)
async
¶
head(url, **kwargs)
async
¶
post(url, **kwargs)
async
¶
put(url, **kwargs)
async
¶
patch(url, **kwargs)
async
¶
pythonxbox.api.client.XboxLiveClient(auth_mgr, language=DefaultXboxLiveLanguages.United_States)
¶
Source code in src/pythonxbox/api/client.py
session = Session(auth_mgr)
instance-attribute
¶
cqs = CQSProvider(self)
instance-attribute
¶
lists = ListsProvider(self)
instance-attribute
¶
profile = ProfileProvider(self)
instance-attribute
¶
achievements = AchievementsProvider(self)
instance-attribute
¶
usersearch = UserSearchProvider(self)
instance-attribute
¶
gameclips = GameclipProvider(self)
instance-attribute
¶
people = PeopleProvider(self)
instance-attribute
¶
presence = PresenceProvider(self)
instance-attribute
¶
mediahub = MediahubProvider(self)
instance-attribute
¶
message = MessageProvider(self)
instance-attribute
¶
userstats = UserStatsProvider(self)
instance-attribute
¶
screenshots = ScreenshotsProvider(self)
instance-attribute
¶
titlehub = TitlehubProvider(self)
instance-attribute
¶
account = AccountProvider(self)
instance-attribute
¶
catalog = CatalogProvider(self)
instance-attribute
¶
smartglass = SmartglassProvider(self)
instance-attribute
¶
xuid
property
¶
Gets the Xbox User ID
Returns: Xbox user Id
language
property
¶
Gets the active Xbox Live Language
Returns: Active Xbox Live language