Skip to main content

A library to interact with the Xbox One gaming console via the SmartGlass protocol.

Project description

Xbox-Smartglass-Core

Latest Version Documentation Status https://travis-ci.com/OpenXbox/xbox-smartglass-core-python.svg?branch=master Discord chat channel

This library provides the core foundation for the smartglass protocol that is used with the Xbox One Gaming console

For in-depth information, check out the documentation: (https://openxbox.github.io)

Dependencies

Install

Via pip:

pip install xbox-smartglass-core

How to use

Authenticate first (Authentication provided by xbox-webapi-python):

$ xbox-authenticate

# Alternative: Use the ncurses terminal ui, it has authentication integrated
$ xbox-tui

Now have a look in the Documentation how to use the provided shell-scripts!

Screenshots

Here you can see the SmartGlass TUI (Text user interface):

https://raw.githubusercontent.com/OpenXbox/xbox-smartglass-core-python/master/assets/xbox_tui_list.png https://raw.githubusercontent.com/OpenXbox/xbox-smartglass-core-python/master/assets/xbox_tui_console.png https://raw.githubusercontent.com/OpenXbox/xbox-smartglass-core-python/master/assets/xbox_tui_log.png https://raw.githubusercontent.com/OpenXbox/xbox-smartglass-core-python/master/assets/xbox_tui_logdetail.png

Known issues

  • Find, report and/or fix them ;)

Contribute

  • Report bugs/suggest features

  • Add/update docs

  • Enhance managers

Credits

This package uses parts of Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

1.0.10 (2018-08-14)

  • Safeguard around connect() functions, if userhash and xsts_token is NoneType

1.0.9 (2018-08-11)

  • Fix for Console instance poweron

  • Reset state after poweroff

  • Little fixes to TUI

  • Support handling MessageFragments

1.0.8 (2018-06-14)

  • Use aenum library for backwards-compat with _enum.Flag_ on py3.5

1.0.7 (2018-05-16)

  • CoreProtocol.connect: Treat ConnectionResult.Pending as error

  • constants.WindowsClientInfo: Update ClientVersion 15 -> 39

  • Make CoreProtocol.start_channel take optional title_id / activity_id arguments

1.0.1 (2018-05-03)

  • 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-smartglass-core-1.0.11.tar.gz (76.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xbox_smartglass_core-1.0.11-py2.py3-none-any.whl (57.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file xbox-smartglass-core-1.0.11.tar.gz.

File metadata

  • Download URL: xbox-smartglass-core-1.0.11.tar.gz
  • Upload date:
  • Size: 76.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for xbox-smartglass-core-1.0.11.tar.gz
Algorithm Hash digest
SHA256 5e3feb06685ea02678e89e06c8c58ba4a696205d206a7bee2c8ff8e4e04a899f
MD5 a877fcfaa1820ef8b11a798ae6530225
BLAKE2b-256 6f34d91b27abcd3d1d4d49e016f35da3fa5f804e352eb1439bd44c052030d279

See more details on using hashes here.

File details

Details for the file xbox_smartglass_core-1.0.11-py2.py3-none-any.whl.

File metadata

  • Download URL: xbox_smartglass_core-1.0.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 57.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for xbox_smartglass_core-1.0.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 951db838403e8b48f56e0436c16e60d2490e01313277a56ac2dc671926cd03c2
MD5 fd432c08eac66c54376a012075869d1e
BLAKE2b-256 e2f266046ed3c475722561b20f1787cf5c5d8d2e5ef81d89e9d3279db82f0df6

See more details on using hashes here.

Supported by

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