Open wtfatty opened 8 years ago
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.
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..
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":...}}
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.
By the way, xboxonegames also returns cheevos for Windows 10 and Windows Phone games :D
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.
Ok, XboxApi.com knows how to deal with two-factor checks now, so it should be fixable.
... Except that now the Apache HttpClient can't speak HTTPS properly to xboxapi. :(
Was this ever resolved?
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:
and get the following error message:
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.