tybug / ossapi

The definitive python wrapper for the osu! api.
https://tybug.github.io/ossapi/
GNU Affero General Public License v3.0
82 stars 18 forks source link

Cannot get "firsts" User Scores #46

Closed sortedcord closed 2 years ago

sortedcord commented 2 years ago

According to docs, "best", "recent" and "firsts" are all valid score types. image

However, when I ran

api.user_scores(mainWindow.config.default_user.id, #ID: 4504101
                        "firsts")

It gives an error saying that "firsts" is not a valid ScoreType.

https://github.com/circleguard/ossapi/blob/ccd0d6898802c23d4f4c9be7fc30165e5c9d9d25/ossapi/enums.py#L216