Skip to content

歌手粉丝数量

调用此接口,传入歌手 id, 可获取歌手粉丝数量

接口信息

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

请求参数

参数类型必填默认值说明
idstring-歌手 id
limitnumber | string20取出粉丝数量,默认为 20
offsetnumber | string-偏移数量,用于分页,如:(评论页数 - 1)*10, 其中 10 为 limit 的值

HTTP 示例

bash
GET /artist/follow/count?id=2116

编程式调用

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

const result = await artistFollowCount({
  id: '2116',
})

console.log(result.body)

补充说明

说明 : 调用此接口,传入歌手 id, 可获取歌手粉丝数量

必选参数 : id : 歌手 id

可选参数 : limit: 取出粉丝数量,默认为 20

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

接口地址 : /artist/follow/count

调用例子 : /artist/follow/count?id=2116

Released under the MIT License.