Skip to content

电台 - 付费精选

可以获取付费精选的电台列表,传入 limitoffset 可以进行分页

接口信息

项目
接口地址/dj/paygift
请求方式GET / POST
需要登录
对应模块dj_paygift
文档分类电台与播客

请求参数

参数类型必填默认值说明
limitnumber | string30返回数量,默认为 30
offsetnumber | string0偏移数量,用于分页,如:(页数 - 1)*30, 其中 30 为 limit 的值,默认为 0

HTTP 示例

bash
GET /dj/paygift?limit=10&offset=20

编程式调用

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

const result = await djPaygift({
  limit: '10',
  offset: '20',
})

console.log(result.body)

补充说明

说明 : 可以获取付费精选的电台列表,传入 limitoffset 可以进行分页

可选参数 :

limit : 返回数量,默认为 30

offset : 偏移数量,用于分页,如:(页数 - 1)*30, 其中 30 为 limit 的值,默认为 0

接口地址 : /dj/paygift

调用例子 : /dj/paygift?limit=10&offset=20

Released under the MIT License.