bltool icon indicating copy to clipboard operation
bltool copied to clipboard

Can't get Xbox games

Open wtfatty opened this issue 10 years ago • 9 comments

I've created a new xboxapi account and changed the api key, just to avoid the rate limit problem, but I got stuck as well :
I try to run the bat as follow:

java -jar bltool.jar --from xboxlive --to text --xbox-name MYNAME --output xbox_games.txt

and get the following error message:

Got Xuid {"xuid":"xguid_code_here"} for gamertag MYNAME.
Found 0 Xbox 360 and 0 Xbox One games.
Couldn't find any games for Xbox Live Gamer MYNAME -- are you sure you specified the right --xbox-name?

I can correctly see the output from the xboxapi website, so i think there's a problem in the data checking and extracting part of the code.

wtfatty avatar Nov 04 '15 22:11 wtfatty

XBox support was added by @hyphz, and I don't know much about it. I don't really have any way of testing it, since I don't have an XBL account. They might be able to help, though.

ToxicFrog avatar Nov 05 '15 11:11 ToxicFrog

Interesting. I put in a pull request with a new key.

In your output, does it literally say {"xuid":"......."} ? Because it should be just the Xuid. If it is as you say, it means xboxapi has changed the xuid call to return JSON (it previously just returned a raw string) and the JSON parser needs to run over the result.

Offhand it'd be something like..

(let [xuidbody (xuidreply :body)
       xuidjson (json/read-str xuidbody)
       xuid (get xuidjson "xuid")] ...

There's probably a more elegant way of doing that in Clojure, but I was kind of learning it as I went..

hyphz avatar Nov 05 '15 23:11 hyphz

Yes, the output is

Got Xuid {"xuid":"......"} for gamertag .....

If it can help you, the xboxapi string is something like that:

{"titles":[{"lastUnlock":"...","titleId":...,"serviceConfigId":"...","titleType":"DGame","platform":"Durango","name":"...","earnedAchievements":...,"currentGamerscore":...,"maxGamerscore":...},
...,
...],"pagingInfo":{"continuationToken":null,"totalRecords":...}}

wtfatty avatar Nov 06 '15 08:11 wtfatty

Got this issue as well.

bltool --from xboxlive --xbox-name "Peter vonFrost" --to backloggery --bl-name xxxxx --bl-pass xxxxx

Got Xuid {"success":false,"error_code":401,"error_message":"No API Key provided or invalid API Key"} for gamertag Peter vonFrost . Found 0 Xbox 360 and 0 Xbox One games.

If tried to use my girlfriends gamertag too, just to make sure that the black-space wasn't the issue.

https://xboxapi.com/v2/xuid/Peter%20vonFrost correctly returns my gamertag ID. https://xboxapi.com/v2/2533274795588464/xboxonegames correctly returns all my played XBox One games.

dkuester avatar Jan 06 '16 17:01 dkuester

By the way, xboxonegames also returns cheevos for Windows 10 and Windows Phone games :D

dkuester avatar Jan 06 '16 18:01 dkuester

Basically it seems what's happened is that Microsoft broke the phantom Xbox Live account I was using by adding two factor authentication, so XboxApi can't log in anymore. I'm trying to sort it with them.

hyphz avatar Jan 07 '16 00:01 hyphz

Ok, XboxApi.com knows how to deal with two-factor checks now, so it should be fixable.

hyphz avatar May 08 '16 19:05 hyphz

... Except that now the Apache HttpClient can't speak HTTPS properly to xboxapi. :(

hyphz avatar May 08 '16 22:05 hyphz

Was this ever resolved?

binarymelon avatar Jan 01 '18 17:01 binarymelon