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.

Source Distribution

xbox-0.1.3.tar.gz (417.4 kB view hashes)

Uploaded source

Built Distribution

xbox-0.1.3-py2.py3-none-any.whl (465.3 kB view hashes)

Uploaded py2 py3

Supported by

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