Closed nightsurge closed 2 years ago
Tried in a fresh environment:
$ cd /tmp
$ mkdir webapi-reproduce-xal
$ cd webapi-reproduce-xal
$ git clone git@github.com:OpenXbox/xbox-webapi-python.git
Cloning into 'xbox-webapi-python'...
remote: Enumerating objects: 3203, done.
remote: Counting objects: 100% (744/744), done.
remote: Compressing objects: 100% (313/313), done.
remote: Total 3203 (delta 407), reused 681 (delta 378), pack-reused 2459
Receiving objects: 100% (3203/3203), 1.30 MiB | 3.09 MiB/s, done.
Resolving deltas: 100% (1826/1826), done.
$ python -m venv venv
$ . venv/bin/activate
$ pip install .
$ xbox-xal
Continue auth with the following URL:
Provide redirect URI:
- Open the URL in browser, toggle Dev Tools, Network tab
- When auth finished, copy URL Link from network tab which starts with `?code=`
- Paste into the CLI window
- Hit ENTER
- Expected output:
I'm not a python user at all, so apologies if this is basic stuff. But I saw the setup.py references the xbox-xal command for the relevant script. However, when I run it, I get "command not found" on MacOS.
I then cloned the repo and tried to run it directly:
I really want to test these new tokens and API calls with gameclips and screenshots, can we improve the readme on how to make these calls? Should it be stupid easy to use the API classes in the repo for a python noob like me? 😅