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

The token file isn't created #20

Closed Gurrman375 closed 4 years ago

Gurrman375 commented 4 years ago

When running the command "xbox-authenticate --tokens tokens.json --email ..." looking at the directory AppData\Local\OpenXbox\xbox there is no tokens.json file.

image ()

tuxuser commented 4 years ago

Well, have a look in C:\Windows\System32 - there should be tokens.json.

The script will use the path you provide via --tokens -> you passed a filepath relative to your current directory -> C:\Windows\System32\tokens.json

If you don't pass the argument, the standard directory is assumed -> C:\Users\<user>\AppData\Local\OpenXbox\xbox