songlist
models.songlist
Songlist API 返回模型定义.
SonglistCreator
pydantic-model
SonglistInfo
pydantic-model
GetSonglistDetailResponse
pydantic-model
Bases: Response
歌单详情响应.
该模型同时承载歌单基础信息、当前批次歌曲以及分页相关计数.
| ATTRIBUTE | DESCRIPTION |
|---|---|
code |
返回码.
TYPE:
|
subcode |
子返回码.
TYPE:
|
msg |
附加消息.
TYPE:
|
info |
歌单基础信息.
TYPE:
|
size |
当前返回的歌曲数量.
TYPE:
|
songs |
当前页歌曲列表. |
total |
歌单歌曲总数.
TYPE:
|
hasmore |
是否还有更多结果.
TYPE:
|
Fields:
-
code(int) -
subcode(int) -
msg(str) -
info(SonglistInfo) -
size(int) -
songs(list[Song]) -
total(int) -
hasmore(int)