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

get_recent_clips_by_xuid doesn't return latest clips #23

Closed Cdingram closed 3 years ago

Cdingram commented 4 years ago

Apparently xbox changed something mid to late 2019 and most recent clips aren't returned from this api call. This project shows this message on the recent clips call: "Warning: Recent games (since mid-2019) will not be returned, please use getPlayerGameClipsFromActivityHistory instead (if required).". Seems like the workaround now is to parse gameclips from the activity feed rather than just the clips API call.

Alexis-Bize commented 4 years ago

Hey @Cdingram, I'm the author of the shared library.

Even if activity history trick works, used endpoint is rate limited and seems to be unstable. The best workaround is to use "mediahub.xboxlive.com" domain but as far as I know, it requires a valid XSTS token generated via "UserToken / DeviceToken / TitleToken" combination which requires signed requests (see https://github.com/OpenXbox/xbox-webapi-python/tree/task/signed_requests).

tuxuser commented 3 years ago

If somebody finds a way, please send a PR. WONTFIX as this is an API limitation, not a bug in this library.