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.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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 496a001f93199b9567ad95df2b065e25afb65289aad7569de694a7c248667ab5 |
|
MD5 | 72d28762977af4f34cdd2cfb39ee69e1 |
|
BLAKE2b-256 | bfe742a3673726fc06048d54e2755bfe54a435c163d9ebdaecf10f589506a89b |
Hashes for xbox_smartglass_rest-0.9.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cce6c4db7ce7f637ac2ac795c06b5cc4e55b16a88dee6edd6ee9eef567f17f2c |
|
MD5 | 6a337646fa804b50aa217469bae36808 |
|
BLAKE2b-256 | a479e6876e120ade47b930bd7b0facc0117457e9ed1311d80e42cd853b4d0172 |