ToxicFrog / bltool

A tool for command line interaction with backloggery.com
Apache License 2.0
78 stars 9 forks source link

Xbox Live import: "A new login is required to get fresh access tokens" #17

Open jawshooah opened 9 years ago

jawshooah commented 9 years ago

I'm unable to fetch my Xbox Live games. Here's the command I used and its output:

$ bltool --from xboxlive --to text --xbox-name jawshooah --output xboxgames.txt
Got Xuid {
    "success": false,
    "error_code": 500,
    "error_message": "A new login is required to get fresh access tokens"
} for gamertag jawshooah .
Found 0 Xbox 360 and 0 Xbox One games.
Couldn't find any games for Xbox Live GamerTagjawshooah -- are you sure you specified the right --xbox-name?
dramalho commented 9 years ago

Yeah, I can see there's an xboxapi token hardcoded, might be worth allowing people to pass this as a parameter so each one can have it's own keys / limits .

This doesn't scale :)

jawshooah commented 9 years ago

Agreed, especially since it's pretty easy to sign up for a free account and get a token.

Better would be a ~/.bltoolrc or ~/.config/bltool file that could persist these settings (Steam name, Xbox Live name and api token, Backloggery name and password) and optionally be overridden by CLI args.