EPLists - Manage Xbox Live Pins

EPLists - Mainly used for XBL Pins

class xbox.webapi.api.provider.lists.ListsProvider(client)

Bases: xbox.webapi.api.provider.baseprovider.BaseProvider

LISTS_URL = 'https://eplists.xboxlive.com'
HEADERS_LISTS = {'Content-Type': 'application/json', 'x-xbl-contract-version': '2'}
SEPERATOR = '.'
remove_items(xuid, params, listname='XBLPins')

Remove items from specific list, defaults to “XBLPins”

Parameters:
  • xuid (str/int) – Xbox User Id
  • listname (str) – Name of list to edit
Returns:

HTTP Response

Return type:

requests.Response

get_items(xuid, params, listname='XBLPins')

Get items from specific list, defaults to “XBLPins”

Parameters:
  • xuid (str/int) – Xbox User Id
  • listname (str) – Name of list to edit
Returns:

HTTP Response

Return type:

requests.Response

insert_items(xuid, params, listname='XBLPins')

Insert items to specific list, defaults to “XBLPins”

Parameters:
  • xuid (str/int) – Xbox User Id
  • listname (str) – Name of list to edit
Returns:

HTTP Response

Return type:

requests.Response

update_items(xuid, params, listname='XBLPins')

Update items in specific list, defaults to “XBLPins”

Parameters:
  • xuid (str/int) – Xbox User Id
  • listname (str) – Name of list to edit
Returns:

HTTP Response

Return type:

requests.Response