Profile - Get Userprofile information¶
Profile
Get Userprofiles by XUID or Gamertag
-
class
xbox.webapi.api.provider.profile.
ProfileProvider
(client)¶ Bases:
xbox.webapi.api.provider.baseprovider.BaseProvider
-
PROFILE_URL
= 'https://profile.xboxlive.com'¶
-
HEADERS_PROFILE
= {'x-xbl-contract-version': '2'}¶
-
SEPARATOR
= ','¶
-
get_profiles
(xuid_list)¶ Get profile info for list of xuids
Parameters: xuid_list (list) – List of xuids Returns: HTTP Response Return type: requests.Response
-
-
class
xbox.webapi.api.provider.profile.
ProfileSettings
¶ Bases:
object
Profile settings, used as parameter for Profile API
-
GAME_DISPLAY_NAME
= 'GameDisplayName'¶
-
APP_DISPLAY_NAME
= 'AppDisplayName'¶
-
APP_DISPLAYPIC_RAW
= 'AppDisplayPicRaw'¶
-
GAME_DISPLAYPIC_RAW
= 'GameDisplayPicRaw'¶
-
PUBLIC_GAMERPIC
= 'PublicGamerpic'¶
-
SHOW_USER_AS_AVATAR
= 'ShowUserAsAvatar'¶
-
GAMERSCORE
= 'Gamerscore'¶
-
GAMERTAG
= 'Gamertag'¶
-
ACCOUNT_TIER
= 'AccountTier'¶
-
TENURE_LEVEL
= 'TenureLevel'¶
-
XBOX_ONE_REP
= 'XboxOneRep'¶
-
PREFERRED_COLOR
= 'PreferredColor'¶
-
LOCATION
= 'Location'¶
-
BIOGRAPHY
= 'Bio'¶
-
WATERMARKS
= 'Watermarks'¶
-
REAL_NAME
= 'RealName'¶
-
REAL_NAME_OVERRIDE
= 'RealNameOverride'¶
-