while documenting the mods param in #187 I did some testing and found out that when using the mods param in a get_scores call like peppy is saying in the comment on mentioned issue doesnt work.
/get_scores?k=*key*&m=0&u=4650315&b=890190 gives me this:
which is a couple scores, so all gud. Now if I want to have only one of them, lets say the first one, which has a enabled_mods value of 16, so then /get_scores?k=*key*&m=0&u=4650315&b=890190&mods=16 should work right?
I get back
null
Same for any other mod enum value I throw at it (including 0).
Sidenote: I expected for those where one exists (as per first result without mods param) to get a one item array with that score, and for entries where the mod value doesnt exist an empty array. But in neither of those cases I expected null
while documenting the mods param in #187 I did some testing and found out that when using the mods param in a
get_scores
call like peppy is saying in the comment on mentioned issue doesnt work./get_scores?k=*key*&m=0&u=4650315&b=890190
gives me this:which is a couple scores, so all gud. Now if I want to have only one of them, lets say the first one, which has a
enabled_mods
value of 16, so then/get_scores?k=*key*&m=0&u=4650315&b=890190&mods=16
should work right?I get back
Same for any other mod enum value I throw at it (including 0).
Sidenote: I expected for those where one exists (as per first result without mods param) to get a one item array with that score, and for entries where the mod value doesnt exist an empty array. But in neither of those cases I expected
null