-
Notifications
You must be signed in to change notification settings - Fork 52
API songs
Lost-MSth edited this page Dec 23, 2023
·
3 revisions
To get some songs' information.
- power required: 'select', 'select_song_info'
- query:
Key Allowed values query 'song_id', 'name' fuzzy_query 'song_id', 'name' sort 'song_id', 'name', 'rating_pst', 'rating_prs', 'rating_ftr', 'rating_byn' - response data:
list[dict]
To add the information of a new song.
- power required: 'change'
- request data:
dict
Key Type Optional song_id str charts list[dict] name str Y - response data:
dict
To get a song's information.
- power required: 'select', 'select_song_info'
- response data:
dict
To change a song's information.
-
power required: 'change'
-
request data:
dict
Key Type Optional name str Y charts list[dict] Y -
response data:
dict
To delete a songs' information.
- power required: 'change'
To get a chart's ranklist, just like the ranklist in the game.
- power required: 'select', 'select_song_rank', 'select_song_rank_top'
- The user with only 'select_song_rank_top' power can only get top 20 scores.
- query / request data:
dict
Key Type Optional limit int Y - response data:
list[dict]