People - Get friendlist info¶
People - Access friendlist from own profiles and others
-
class
xbox.webapi.api.provider.people.
PeopleProvider
(client)¶ Bases:
xbox.webapi.api.provider.baseprovider.BaseProvider
-
SOCIAL_URL
= 'https://social.xboxlive.com'¶
-
HEADERS_SOCIAL
= {'x-xbl-contract-version': '1'}¶
-
get_friends_own
()¶ Get friendlist of own profile
Returns: HTTP Response Return type: requests.Response
-
get_friends_summary_own
()¶ Get friendlist summary of own profile
Returns: HTTP Response Return type: requests.Response
-
get_friends_summary_by_xuid
(xuid)¶ Get friendlist summary of user by xuid
Parameters: xuid (str) – XUID to request summary from Returns: HTTP Response Return type: requests.Response
-
get_friends_by_xuid
(xuid)¶ Get friendlist of user by xuid
Parameters: xuid (str) – XUID to request summary from Returns: HTTP Response Return type: requests.Response
-