singer
歌手相关 API
AreaType
GenreType
SexType
TabType
IndexType
validate_int_enum
确保传入的值符合指定的枚举类型
Source code in qqmusic_api/singer.py
get_singer_list
async
获取歌手列表
PARAMETER | DESCRIPTION |
---|---|
area
|
地区 |
sex
|
性别 |
genre
|
风格 |
Source code in qqmusic_api/singer.py
get_singer_list_index
async
get_singer_list_index(area: int | AreaType = ALL, sex: int | SexType = ALL, genre: int | GenreType = ALL, index: int | IndexType = ALL, sin: int = 0, cur_page: int = 1)
获取歌手列表原始数据
PARAMETER | DESCRIPTION |
---|---|
area
|
地区 |
sex
|
性别 |
genre
|
风格 |
index
|
索引 |
sin
|
跳过数量
TYPE:
|
cur_page
|
当前页
TYPE:
|
Source code in qqmusic_api/singer.py
get_singer_list_index_all
async
get_singer_list_index_all(area: int | AreaType = ALL, sex: int | SexType = ALL, genre: int | GenreType = ALL, index: int | IndexType = ALL) -> list[dict[str, Any]]
获取所有歌手列表
PARAMETER | DESCRIPTION |
---|---|
area
|
地区 |
sex
|
性别 |
genre
|
风格 |
index
|
索引 |
Source code in qqmusic_api/singer.py
get_tab_detail
async
获取歌手 Tab 详细信息
PARAMETER | DESCRIPTION |
---|---|
mid
|
歌手 mid
TYPE:
|
tab_type
|
Tab 类型
TYPE:
|
page
|
页码
TYPE:
|
num
|
返回数量
TYPE:
|
Source code in qqmusic_api/singer.py
get_desc
async
获取歌手简介
PARAMETER | DESCRIPTION |
---|---|
mids
|
歌手 mid 列表 |
Source code in qqmusic_api/singer.py
get_similar
async
get_songs
async
get_songs(mid: str, tab_type: Literal[SONG, ALBUM, COMPOSER, LYRICIST, PRODUCER, ARRANGER, MUSICIAN] = SONG, page: int = 1, num: int = 10) -> list[dict[str, Any]]
获取歌手歌曲
PARAMETER | DESCRIPTION |
---|---|
mid
|
歌手 mid
TYPE:
|
tab_type
|
Tab 类型
TYPE:
|
page
|
页码
TYPE:
|
num
|
返回数量
TYPE:
|
Source code in qqmusic_api/singer.py
get_songs_list
async
get_songs_list_all
async
获取歌手所有歌曲列表
PARAMETER | DESCRIPTION |
---|---|
mid
|
歌手 mid
TYPE:
|
Source code in qqmusic_api/singer.py
get_album_list
async
获取歌手专辑
PARAMETER | DESCRIPTION |
---|---|
mid
|
歌手 mid
TYPE:
|
number
|
每次获取数量,不足30个的时候直接全部返回
TYPE:
|
begin
|
从第几个开始
TYPE:
|
Source code in qqmusic_api/singer.py
get_album_list_all
async
获取歌手所有专辑列表
PARAMETER | DESCRIPTION |
---|---|
mid
|
歌手 mid
TYPE:
|
Source code in qqmusic_api/singer.py
get_mv_list
async
get_mv_list_all
async
获取歌手所有专辑列表
PARAMETER | DESCRIPTION |
---|---|
mid
|
歌手 mid
TYPE:
|