Skip to main content

Xbox One Smartglass REST API

Project description

Xbox-Smartglass-REST

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

Open-Source Xbox One Smartglass REST server.

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

Dependencies

Install

Via pip:

pip install xbox-smartglass-rest

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

# If you want to authenticate via browser, use:
$ xbox-auth-via-browser

Now, start the server:

$ xbox-rest-server

To see all API endpoints:

http://localhost:5557

Usual usage:

# Read tokens from appdirs location
http://localhost:5557/authentication_refresh
# (Optional) Poweron console
http://localhost:5557/<liveid>/poweron
# Enumerate devices on network
http://localhost:5557/devices
# Connect to console
http://localhost:5557/<liveid>/connect
# Use other API endpoints ...

Known issues

  • Find, report and/or fix them ;)

Contribute

  • Report bugs/suggest features

  • Improve / add endpoints

Credits

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

History

0.9.1 (2018-08-04)

  • Small fixup

0.9.0 (2018-08-04)

  • First commit on github

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-rest-0.9.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

xbox_smartglass_rest-0.9.1-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file xbox-smartglass-rest-0.9.1.tar.gz.

File metadata

  • Download URL: xbox-smartglass-rest-0.9.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for xbox-smartglass-rest-0.9.1.tar.gz
Algorithm Hash digest
SHA256 c91efbcd527d39f6dac5d7ba5673ff42e044c58cc2975cc240c31ab81dcd02f5
MD5 1dea247c70175a5b162b193c80b6db2e
BLAKE2b-256 960435487d3520a458ffc7518f4a48cae81672df0a7145dc78839832adf9f429

See more details on using hashes here.

File details

Details for the file xbox_smartglass_rest-0.9.1-py2.py3-none-any.whl.

File metadata

  • Download URL: xbox_smartglass_rest-0.9.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for xbox_smartglass_rest-0.9.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7055ac7610edde03c9c7f7e1eedc873d057cff15c759d89b9b354d085fe177b3
MD5 42751de28fcf669912304b872cc8e53e
BLAKE2b-256 76cb5ef47c0aa97096793e2a5b8cd84507dce84ef88d03e068a64663314f47c8

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