OpenXbox / xbox-webapi-python

A python library to authenticate with Xbox Live via your Microsoft Account and provides Xbox related Web-API.
https://pypi.python.org/pypi/xbox-webapi
MIT License
175 stars 44 forks source link

WebAPI V2 #29

Closed hunterjm closed 3 years ago

hunterjm commented 3 years ago

This is a working draft for a major version increment based off of #17, except it adds true OAuth2 support instead of web scraping for authentication.

To test, register a new application in Azure AD and add http://localhost:8080/auth/callback as a redirect URL. Then generate a client secret. Set CLIENT_ID and CLIENT_SECRET env vars and run xbox-authenticate.

To do:

hunterjm commented 3 years ago

To keep it simple, I removed support for saving tokens to file for now. I will add that back in later.

hunterjm commented 3 years ago

Cherry picked @tuxuser work on vcrpy conversion and will start converting tests.

hunterjm commented 3 years ago

Note: We still haven't converted the lists endpoints, and don't have tests for them either.

tuxuser commented 3 years ago

edit - moved TODO to the top so we can edit and check off/add others as we go without losing it.