Xbox One Smartglass REST API
Project description
Xbox-Smartglass-REST
Open-Source Xbox One Smartglass REST server.
For in-depth information, check out the documentation: (https://openxbox.github.io)
Dependencies
Python >= 3.5
xbox-smartglass-stump (https://pypi.org/project/xbox-smartglass-stump/)
Flask (https://pypi.org/project/Flask/)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for xbox-smartglass-rest-0.9.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ba27a65e61d10890072d264985867df024dc8a154f6f62aac36c0ef4fd8107c |
|
MD5 | 1ef236ce46bdd7b7c8707453d1d0585a |
|
BLAKE2b-256 | ba7c926f2a4605a388e694093ba8778f2cc26b5111ac51fcf8278698af56cda3 |
Hashes for xbox_smartglass_rest-0.9.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6df9d8cf1591b4f392cdebb744e8b01eace3b24f0911c1b83b3858d782ca197f |
|
MD5 | cb7cc546fac57617377c5b137b13a5a6 |
|
BLAKE2b-256 | cb7345ccaf44fc90ed22e431b6f7396a02231df2d4121854ee51c21cdf7249a1 |