Skip to content

收藏的歌手列表

调用此接口,可获取收藏的歌手列表

接口信息

项目
接口地址/artist/sublist
请求方式GET / POST
需要登录
对应模块artist_sublist
文档分类歌手

请求参数

参数类型必填默认值说明
limitnumber | string25取出歌单数量,默认为 25
offsetnumber | string-偏移数量,用于分页,如:(评论页数 - 1)*25, 其中 25 为 limit 的值

HTTP 示例

bash
GET /artist/sublist

编程式调用

ts
import { artistSublist } from 'hana-music-api'

const result = await artistSublist()

console.log(result.body)

补充说明

说明 : 调用此接口,可获取收藏的歌手列表

可选参数 :

limit: 取出歌单数量,默认为 25

offset: 偏移数量,用于分页,如:(评论页数 - 1)*25, 其中 25 为 limit 的值

接口地址 : /artist/sublist

调用例子 : /artist/sublist

Released under the MIT License.