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.2 (2018-08-04)

  • Stump <headend, livetv, tuner lineups> endpoints

  • Add console flags

  • Preparing NANO endpoints

  • Adjusting authentication endpoint slightly

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.2.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

xbox_smartglass_rest-0.9.2-py2.py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 2 Python 3

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