Skip to main content

A library to authenticate with Windows Live/Xbox Live and use their API

Project description

Xbox-WebAPI

Latest Version Documentation Status https://travis-ci.org/OpenXbox/xbox-webapi-python.svg?branch=master

Xbox-WebAPI is a python library to authenticate with Xbox Live via your Microsoft Account and provides Xbox related Web-API.

Authentication via credentials or tokens is supported, Two-Factor-Authentication is also possible.

Dependencies

  • Python >= 3.5

  • Libraries: requests, python-dateutil, demjson

How to use

Install:

pip install xbox-webapi

Authentication:

xbox-authenticate --tokenfile tokens.json --email no@live.com --password abc123

# If no credentials are provided via cmdline, they are requested from stdin
xbox-authenticate --tokenfile tokens.json
>> Input authentication credentials
>> Email: <input>
>> Password: <input>

API usage:

# Search Xbox One Catalog
xbox-searchlive --tokenfile tokens.json "Some game title"

# Search Xbox 360 Catalog
xbox-searchlive --tokenfile tokens.json -l "Some game title"

Known issues

  • There are a lot of missing XBL endpoints

Contribute

  • Report bugs/suggest features

  • Add/update docs

  • Add additional xbox live endpoints

Credits

This package uses parts of Cookiecutter and the audreyr/cookiecutter-pypackage project template. The authentication code is based on joealcorn/xbox

Informations on endpoints gathered from:

Disclaimer

Xbox, Xbox One, Smartglass and Xbox Live are trademarks of Microsoft Corporation. Team OpenXbox is in no way endorsed by or affiliated with Microsoft Corporation, or any associated subsidiaries, logos or trademarks.

History

1.0.8 (2018-03-29)

  • Added Userstats endpoint

  • Updated README

1.0.7 (2018-03-28)

  • Support supplying auth credentials via stdin

  • Added tests for all endpoints

  • Added tests for authentication

  • Added QCS endpoint

  • Added Profile endpoint

  • Added Achievements endpoint

  • Added Usersearch endpoint

  • Added Gameclips endpoint

  • Added People endpoint

  • Added Presence endpoint

  • Added Message endpoint

  • Removed Gamerpics endpoint

1.0.3 - 1.0.6 (2018-03-17)

  • Metadata changes

1.0.2 (2018-03-17)

  • More metadata changes, rendering on PyPi is fine now

1.0.1 (2018-03-17)

  • Metadata changes

1.0.0 (2018-03-17)

  • First release on PyPI.

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-webapi-1.0.8.tar.gz (222.3 kB view details)

Uploaded Source

Built Distribution

xbox_webapi-1.0.8-py2.py3-none-any.whl (36.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file xbox-webapi-1.0.8.tar.gz.

File metadata

  • Download URL: xbox-webapi-1.0.8.tar.gz
  • Upload date:
  • Size: 222.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xbox-webapi-1.0.8.tar.gz
Algorithm Hash digest
SHA256 44292d634f8ba1c898a331a2e80528792ad69663621e9e61ea4712a30c7138fe
MD5 50d86b6210b2251e633a54382d98cdf4
BLAKE2b-256 80f7b852905afde06d5dc11988e689d9db43fb1813a0acc98837374b5397c8e4

See more details on using hashes here.

File details

Details for the file xbox_webapi-1.0.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for xbox_webapi-1.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e21da1a2cb39c32f00790d5e60c8171fe44856170aa265ce027b7cd1dce4a587
MD5 05d3c14838205973abb754656b30828d
BLAKE2b-256 ff1bcb326274d3beb3c6789ced227a60c8f1a3c7365dd6df3745e13cc4e0c8aa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page