PDA

View Full Version : RELEASE: Xbox One SmartGlass REST server



wraggster
August 4th, 2018, 22:06
Not really sure what it is but heres the news anyway:




It has been 3 months, since we announced the Launch of Team OpenXbox (https://www.maxconsole.com/threads/announcing-the-launch-of-team-openxbox.46925/), and since then the developers have been busy behind the scenes working on various tools, and today they just released their Xbox One SmartGlass REST server (https://twitter.com/tuxuser360/status/1025637191693856768), so check out the GITHUB intro below:

Dependencies

Python >= 3.5
xbox-smartglass-stump (https://pypi.org/project/xbox-smartglass-stump/)
Flask (https://pypi.org/project/Flask/)

Install

Via pip:
Code:
pip install xbox-smartglass-rest

How to use

Authenticate first (Authentication provided by xbox-webapi-python):
Code:
$ 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:
Code:
$ xbox-rest-server

To see all API endpoints:

http://localhost:5557

Usual usage:
Code:
# 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 https://www.maxconsole.com/styles/default/xenforo/clear.png

Contribute


Report bugs/suggest features
Improve / add endpoints

Credits: This package uses parts of Cookiecutter (https://github.com/audreyr/cookiecutter) and the audreyr/cookiecutter-pypackage (https://github.com/audreyr/cookiecutter-pypackage) project template.
Click to expand...

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

OFFICIAL SITE: --> https://github.com/OpenXbox/xbox-smartglass-rest-python

via https://www.maxconsole.com/threads/release-xbox-one-smartglass-rest-server.47694/