Skip to main content

A wrapper around Microsoft's undocumented Xbox One APIs

Project description

Documentation Build Status Coverage Status PyPI Version


This project is a wrapper around Microsoft’s set of private APIs in use by the Xbox One and related apps.


The main goals of this project are to achieve a decent, usable API, everything else is secondary.


Install using pip

$ pip install xbox


>>> import xbox

>>> xbox.client.authenticate(login='', password='hunter2')

>>> # get a gamer
>>> gt = xbox.GamerProfile.from_gamertag('JoeAlcorn')
>>> gt.gamerscore
>>> gt.gamerpic

>>> # get iterator of recorded clips
>>> clips = gt.clips()
>>> # convert iterator to a list so we can index it
>>> clips = list(clips)
>>> clip = clips[0]
>>> clip.media_url
>>> clip.views
>>> clip.state
>>> clip.duration
>>> clip.thumbnails.large

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for xbox, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size xbox-0.1.3-py2.py3-none-any.whl (465.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size xbox-0.1.3.tar.gz (417.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page