{ "info": { "author": "OpenXbox", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "====================\nXbox-Smartglass-REST\n====================\n\n.. image:: https://pypip.in/version/xbox-smartglass-rest/badge.svg\n :target: https://pypi.python.org/pypi/xbox-smartglass-rest/\n :alt: Latest Version\n\n.. image:: https://travis-ci.com/OpenXbox/xbox-smartglass-rest-python.svg?branch=master\n :target: https://travis-ci.com/OpenXbox/xbox-smartglass-rest-python\n\n.. image:: https://img.shields.io/badge/discord-OpenXbox-blue.svg\n :target: https://discord.gg/E8kkJhQ\n :alt: Discord chat channel\n\nOpen-Source Xbox One Smartglass REST server.\n\nFor in-depth information, check out the documentation: (https://openxbox.github.io)\n\nDependencies\n------------\n* Python >= 3.5\n* xbox-smartglass-stump (https://pypi.org/project/xbox-smartglass-stump/)\n* Flask (https://pypi.org/project/Flask/)\n\nInstall\n-------\n\nVia pip:\n::\n\n pip install xbox-smartglass-rest\n\n\nHow to use\n----------\n\nStart the server:\n::\n\n $ xbox-rest-server\n\n\nAuthentication\n--------------\n\nAuthenticate from scratch\n::\n\n For non-2FA enabled account: http://localhost:5557/auth/login\n For 2FA: http://localhost:5557/auth/oauth\n\n # Store tokens on valid authentication\n http://localhost:5557/auth/store\n\nLoad tokens from disk\n::\n\n http://localhost:5557/auth/load\n http://localhost:5557/auth/refresh\n\n2FA OAuth - POST\n::\n\n # Get authorize url\n GET http://localhost:5557/auth/url\n Response-Parameters (JSON): authorization_url\n\n # Submit redirect url\n POST http://localhost:5557/auth/oauth\n Request-Parameters: redirect_uri\n\nRegular (non-2FA) login - POST\n::\n\n POST http://localhost:5557/auth/login\n Request-Parameters: email, password\n\n\nGeneral usage\n-------------\n\nTo see all API endpoints:\n::\n\n http://localhost:5557\n\n\nUsual usage:\n::\n\n # (Optional) Poweron console\n http://localhost:5557/device//poweron\n # NOTE: You can specify device by ip: /device//poweron?addr=192.168.0.123\n # Enumerate devices on network\n # NOTE: You can enumerate device by specific ip: /device?addr=192.168.0.123\n http://localhost:5557/device\n # Connect to console\n # NOTE: You can connect anonymously: /connect?anonymous=true\n # .. if console allows it ..\n http://localhost:5557/device//connect\n\n # Use other API endpoints ...\n\n\nKnown issues\n------------\n* Find, report and/or fix them ;)\n\nBugreporting\n------------\nWhen reporting bugs, please make sure to provide the output of the following endpoint\n\n::\n\n http://localhost:5557/versions\n\n\nContribute\n----------\n* Report bugs/suggest features\n* Improve / add endpoints\n\nCredits\n-------\nThis package uses parts of Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.9.8 (2018-11-14)\n------------------\n\n* Python 3.7 compatibility\n\n0.9.7 (2018-11-05)\n------------------\n\n* Pin xbox-smartglass-core requirement\n* Filter returned consoles when addr-query is supplied\n* Expose last_error in console status\n\n0.9.6 (2018-10-04)\n------------------\n\n* Return unique index endpoint\n* Create FAQ\n* Always refresh XBL Client with new tokens and implement IP in /device\n* Expose IP addr discovery through /devices?addr=192.168.0.123\n* Always refresh XBL Client with new tokens\n* Add GameDVR endpoint\n\n0.9.5 (2018-08-16)\n------------------\n\n* Add App Type and Fix Media Status\n\n0.9.4 (2018-08-14)\n------------------\n\n* Add /web/titlehistory endpoint\n* Enable logfile cmdline argument\n* Parse proper parameter from /launch/ and /media/seek/\n* Standardize media commands and input keys casing\n* Clean up status codes and auth routes\n* Add friendly name and display image from titlehub to console_status response if authenticated\n* Do a best effort token load and refresh on startup, auto dump tokens file on successful auth\n* Simplify auth url endpoint\n* Restructure app to be more modular\n* Add XboxLiveClient and endpoint /web/title/ for downloading friendly name and displayImage\n* Allow connecting anonymously when supplying *anonymous=true* via POST to /connect\n* Pin xbox-smartglass-stump version\n* Adding /media/seek endpoint\n* Add /versions endpoint\n* Rewrite authentication endpoints, OAUTH and regular auth supported\n* Rename endpoint /authentication to /auth\n\n0.9.3 (2018-08-08)\n------------------\n\n* Rename /status to /console_status\n\n0.9.2 (2018-08-04)\n------------------\n\n* Stump endpoints\n* Add console flags\n* Preparing NANO endpoints\n* Adjusting authentication endpoint slightly\n* Allow anonymous connection\n\n0.9.1 (2018-08-04)\n------------------\n\n* Small fixup\n\n0.9.0 (2018-08-04)\n------------------\n\n* First commit on github\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OpenXbox/xbox-smartglass-rest-python", "keywords": "xbox one smartglass rest api", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "xbox-smartglass-rest", "package_url": "https://pypi.org/project/xbox-smartglass-rest/", "platform": "", "project_url": "https://pypi.org/project/xbox-smartglass-rest/", "project_urls": { "Homepage": "https://github.com/OpenXbox/xbox-smartglass-rest-python" }, "release_url": "https://pypi.org/project/xbox-smartglass-rest/0.9.8/", "requires_dist": [ "xbox-webapi (>=1.1.7)", "xbox-smartglass-core (>=1.0.12)", "xbox-smartglass-stump (>=0.9.5)", "Flask", "bumpversion; extra == 'dev'", "watchdog; extra == 'dev'", "coverage; extra == 'dev'", "Sphinx; extra == 'dev'", "wheel; extra == 'dev'", "twine; extra == 'dev'" ], "requires_python": "", "summary": "Xbox One Smartglass REST API", "version": "0.9.8" }, "last_serial": 4487264, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "6a337646fa804b50aa217469bae36808", "sha256": "cce6c4db7ce7f637ac2ac795c06b5cc4e55b16a88dee6edd6ee9eef567f17f2c" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6a337646fa804b50aa217469bae36808", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7885, "upload_time": "2018-08-04T00:44:21", "url": "https://files.pythonhosted.org/packages/a4/79/e6876e120ade47b930bd7b0facc0117457e9ed1311d80e42cd853b4d0172/xbox_smartglass_rest-0.9.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72d28762977af4f34cdd2cfb39ee69e1", "sha256": "496a001f93199b9567ad95df2b065e25afb65289aad7569de694a7c248667ab5" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.0.tar.gz", "has_sig": false, "md5_digest": "72d28762977af4f34cdd2cfb39ee69e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8706, "upload_time": "2018-08-04T00:44:23", "url": "https://files.pythonhosted.org/packages/bf/e7/42a3673726fc06048d54e2755bfe54a435c163d9ebdaecf10f589506a89b/xbox-smartglass-rest-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "42751de28fcf669912304b872cc8e53e", "sha256": "7055ac7610edde03c9c7f7e1eedc873d057cff15c759d89b9b354d085fe177b3" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "42751de28fcf669912304b872cc8e53e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7911, "upload_time": "2018-08-04T01:05:10", "url": "https://files.pythonhosted.org/packages/76/cb/5ef47c0aa97096793e2a5b8cd84507dce84ef88d03e068a64663314f47c8/xbox_smartglass_rest-0.9.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1dea247c70175a5b162b193c80b6db2e", "sha256": "c91efbcd527d39f6dac5d7ba5673ff42e044c58cc2975cc240c31ab81dcd02f5" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.1.tar.gz", "has_sig": false, "md5_digest": "1dea247c70175a5b162b193c80b6db2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8723, "upload_time": "2018-08-04T01:05:11", "url": "https://files.pythonhosted.org/packages/96/04/35487d3520a458ffc7518f4a48cae81672df0a7145dc78839832adf9f429/xbox-smartglass-rest-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "cb7cc546fac57617377c5b137b13a5a6", "sha256": "6df9d8cf1591b4f392cdebb744e8b01eace3b24f0911c1b83b3858d782ca197f" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cb7cc546fac57617377c5b137b13a5a6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8614, "upload_time": "2018-08-04T21:03:18", "url": "https://files.pythonhosted.org/packages/cb/73/45ccaf44fc90ed22e431b6f7396a02231df2d4121854ee51c21cdf7249a1/xbox_smartglass_rest-0.9.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ef236ce46bdd7b7c8707453d1d0585a", "sha256": "6ba27a65e61d10890072d264985867df024dc8a154f6f62aac36c0ef4fd8107c" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.2.tar.gz", "has_sig": false, "md5_digest": "1ef236ce46bdd7b7c8707453d1d0585a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9405, "upload_time": "2018-08-04T21:03:19", "url": "https://files.pythonhosted.org/packages/ba/7c/926f2a4605a388e694093ba8778f2cc26b5111ac51fcf8278698af56cda3/xbox-smartglass-rest-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "25dd04fd83a7175055284c3804fe30b4", "sha256": "8b33f6f5303b9fbceab8d4120344fe84e36611701056a6824bd587cf211ec11d" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "25dd04fd83a7175055284c3804fe30b4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8545, "upload_time": "2018-08-07T22:37:52", "url": "https://files.pythonhosted.org/packages/b5/61/852234ee9e7e87e51d25dd6ab8c607c93625257c14afa7d39916d6de21af/xbox_smartglass_rest-0.9.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a626f58f82a5c6a8b80e96486382347c", "sha256": "f5d4b109081e9e29be79993bda0857c8336c5468475adf55e46db9069d15540c" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.3.tar.gz", "has_sig": false, "md5_digest": "a626f58f82a5c6a8b80e96486382347c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9339, "upload_time": "2018-08-07T22:37:53", "url": "https://files.pythonhosted.org/packages/15/89/b3a42b23ee702d978b6b2d281b996582e9c0c1f2ffc04866abe7eb32f7ef/xbox-smartglass-rest-0.9.3.tar.gz" } ], "0.9.4": [ { "comment_text": "", "digests": { "md5": "3170e1b965667316cba63b7f3c1b8eab", "sha256": "8ae470c91a864c18290b8c5b23ff9079a8510965b885eac9f788710b6e74d2c8" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3170e1b965667316cba63b7f3c1b8eab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17400, "upload_time": "2018-08-14T13:29:11", "url": "https://files.pythonhosted.org/packages/ce/a0/8bcc33601da9e9183a579251a1d4b2599d4e5b5257a7e4e6a9cd26cabe9c/xbox_smartglass_rest-0.9.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3a5eb825e56c57ca7435a0d83f7856bd", "sha256": "09ff3221c4d15060bb37cea9f887fc07478241136216f4e7b0462e82ab1bb918" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.4.tar.gz", "has_sig": false, "md5_digest": "3a5eb825e56c57ca7435a0d83f7856bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17033, "upload_time": "2018-08-14T13:29:12", "url": "https://files.pythonhosted.org/packages/9c/81/8a487e0349a559e0fc274e0dced99586f28a3398e89682befed106cca5bc/xbox-smartglass-rest-0.9.4.tar.gz" } ], "0.9.5": [ { "comment_text": "", "digests": { "md5": "8bf624420cfb283ba19c6566cd4ecf71", "sha256": "cce22ffee35004ef496b063b041054e6b2c7bce5fb7259544fd9eb12ca8c0724" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8bf624420cfb283ba19c6566cd4ecf71", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17546, "upload_time": "2018-08-16T17:50:21", "url": "https://files.pythonhosted.org/packages/d4/f6/73521851d42496d7d703036bc5cb79a49144602bf4fffd85ba3bfb4afa8f/xbox_smartglass_rest-0.9.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2045afed8a841192f1f3300c9433812e", "sha256": "445b6a378d4374b69465183aa87d8a2b3849460b9057fa896cc20617d203a769" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.5.tar.gz", "has_sig": false, "md5_digest": "2045afed8a841192f1f3300c9433812e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17929, "upload_time": "2018-08-16T17:50:22", "url": "https://files.pythonhosted.org/packages/9b/06/76cf9137b7492728d46c957d885c9ac6acc8d3c752d1b3e077b11bf4c71a/xbox-smartglass-rest-0.9.5.tar.gz" } ], "0.9.6": [ { "comment_text": "", "digests": { "md5": "60ae44104ed22c4235c710e94306525c", "sha256": "99ac51a56f2e2f1eacf6039bc210db6cb89c609138fc8ff81bd6729a1646f323" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "60ae44104ed22c4235c710e94306525c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18872, "upload_time": "2018-10-04T01:08:23", "url": "https://files.pythonhosted.org/packages/7e/ef/29d6fa7fb8e786c119f2c12397150b206881d211cd73fae68a90be4856ee/xbox_smartglass_rest-0.9.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4aff4dff4269a2127ed6d1323cc1d307", "sha256": "61e74a6092464269f69d0c0d7590a4cf58f3b6992aaef9c653d28db743b1fae2" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.6.tar.gz", "has_sig": false, "md5_digest": "4aff4dff4269a2127ed6d1323cc1d307", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20612, "upload_time": "2018-10-04T01:08:25", "url": "https://files.pythonhosted.org/packages/75/c0/8a3ca4ff2f4ccf8a06170dfda9a0685acfcadf93d6f3d43aae70451e447e/xbox-smartglass-rest-0.9.6.tar.gz" } ], "0.9.7": [ { "comment_text": "", "digests": { "md5": "4e6ffb301f701a201a55eb4377f4921f", "sha256": "06281b6d00c7ec1b570eb12380ed7c159aef2ec8ad97e54415884e0ed9369216" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4e6ffb301f701a201a55eb4377f4921f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19146, "upload_time": "2018-11-05T11:59:20", "url": "https://files.pythonhosted.org/packages/05/69/9bc572f4e0b015cf461110212f23301e820c1da4d83e292d81f1b2f23764/xbox_smartglass_rest-0.9.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c4e73b3ca47b31fd1394ddc2c8345006", "sha256": "91d21c0cd7cd83549461a364ac1dee7caeb482afa38f0ec77f9c4b428fd94141" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.7.tar.gz", "has_sig": false, "md5_digest": "c4e73b3ca47b31fd1394ddc2c8345006", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20869, "upload_time": "2018-11-05T11:59:21", "url": "https://files.pythonhosted.org/packages/dc/28/33cba723e6859df4ca84d8899459f748d34cd107b3a782e1dcdbc7e7b2f0/xbox-smartglass-rest-0.9.7.tar.gz" } ], "0.9.8": [ { "comment_text": "", "digests": { "md5": "23077728c865dbfdc754a749dda595dc", "sha256": "f76130a6a3bb6018e6d22b7938d830507391d11f7c2fcaebf2a3d21250834338" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "23077728c865dbfdc754a749dda595dc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19263, "upload_time": "2018-11-14T22:15:56", "url": "https://files.pythonhosted.org/packages/4d/4f/f035df8a2ec5742b9e772071e006ea21aae3fc3bd0963753cfc1045d6fda/xbox_smartglass_rest-0.9.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0588a39736031a6335e4fdea53c60f39", "sha256": "53addf613ae5083b96685e28de176322b5c45e0a76f04ab7e8ce1a58d25e1241" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.8.tar.gz", "has_sig": false, "md5_digest": "0588a39736031a6335e4fdea53c60f39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20994, "upload_time": "2018-11-14T22:15:57", "url": "https://files.pythonhosted.org/packages/53/19/799a4e522f06932af968cb169fe825beb9b86fe154eed787d0a5c92e5b29/xbox-smartglass-rest-0.9.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "23077728c865dbfdc754a749dda595dc", "sha256": "f76130a6a3bb6018e6d22b7938d830507391d11f7c2fcaebf2a3d21250834338" }, "downloads": -1, "filename": "xbox_smartglass_rest-0.9.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "23077728c865dbfdc754a749dda595dc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19263, "upload_time": "2018-11-14T22:15:56", "url": "https://files.pythonhosted.org/packages/4d/4f/f035df8a2ec5742b9e772071e006ea21aae3fc3bd0963753cfc1045d6fda/xbox_smartglass_rest-0.9.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0588a39736031a6335e4fdea53c60f39", "sha256": "53addf613ae5083b96685e28de176322b5c45e0a76f04ab7e8ce1a58d25e1241" }, "downloads": -1, "filename": "xbox-smartglass-rest-0.9.8.tar.gz", "has_sig": false, "md5_digest": "0588a39736031a6335e4fdea53c60f39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20994, "upload_time": "2018-11-14T22:15:57", "url": "https://files.pythonhosted.org/packages/53/19/799a4e522f06932af968cb169fe825beb9b86fe154eed787d0a5c92e5b29/xbox-smartglass-rest-0.9.8.tar.gz" } ] }