When retrieving user scores using api.get_match(match_id), a warning is emitted indicating a missing attribute enabled_mods in the TeamScore object.
For example, I initialized api = OsuApi(API_KEY, connector=ReqConnector()) and then called match = api.get_match(73235514)
The following warnings were output:
C:\Users\....: Warning: Unknown attribute enabled_mods ("0") in API response for type <class
'osuapi.model.TeamScore'>
warnings.warn("Unknown attribute {} (\"{}\") in API response for type {}".format(k, v, type(self)), Warning)
C:\Users\....: Warning: Unknown attribute enabled_mods ("8") in API response for type <class
'osuapi.model.TeamScore'>
warnings.warn("Unknown attribute {} (\"{}\") in API response for type {}".format(k, v, type(self)), Warning)
C:\Users\....: Warning: Unknown attribute enabled_mods ("2") in API response for type <class
'osuapi.model.TeamScore'>
warnings.warn("Unknown attribute {} (\"{}\") in API response for type {}".format(k, v, type(self)), Warning)
As a result of this, I cannot find a way to get the mods used by each player in a Game's scores when freemod is enabled in multiplayer.
When retrieving user scores using
api.get_match(match_id)
, a warning is emitted indicating a missing attributeenabled_mods
in the TeamScore object.For example, I initialized
api = OsuApi(API_KEY, connector=ReqConnector())
and then calledmatch = api.get_match(73235514)
The following warnings were output:
As a result of this, I cannot find a way to get the mods used by each player in a
Game
's scores when freemod is enabled in multiplayer.