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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d4b109081e9e29be79993bda0857c8336c5468475adf55e46db9069d15540c |
|
MD5 | a626f58f82a5c6a8b80e96486382347c |
|
BLAKE2b-256 | 1589b3a42b23ee702d978b6b2d281b996582e9c0c1f2ffc04866abe7eb32f7ef |
Hashes for xbox_smartglass_rest-0.9.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b33f6f5303b9fbceab8d4120344fe84e36611701056a6824bd587cf211ec11d |
|
MD5 | 25dd04fd83a7175055284c3804fe30b4 |
|
BLAKE2b-256 | b561852234ee9e7e87e51d25dd6ab8c607c93625257c14afa7d39916d6de21af |