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

support different moniker #79

Closed pschaub closed 1 year ago

pschaub commented 1 year ago

Currently you are only able to fetch titles in the TitleHub by titleId(...). Example: https://titlehub.xboxlive.com/users/xuid(XUID)/titles/titleId(724369121)/decoration/detail

The API provides the possibility to use a different moniker, e.g. pfn(...). Example: https://titlehub.xboxlive.com/users/xuid(XUID)/titles/pfn(DeepSilver.SaintsRow5_hmv7qcest37me)/decoration/detail

The moniker is currently hardcoded: https://github.com/OpenXbox/xbox-webapi-python/blob/1a5aeb1b1ce94f38b5dae7f6b59938bc9ec112b2/xbox/webapi/api/provider/titlehub/__init__.py#L87