Skip to content

最近播放-声音

调用此接口,可获得最近播放-声音

接口信息

项目
接口地址/record/recent/voice
请求方式GET / POST
需要登录
对应模块record_recent_voice
文档分类听歌记录

请求参数

参数类型必填默认值说明
limitnumber | string100返回数量,默认为 100

HTTP 示例

bash
GET /record/recent/voice?limit=1

编程式调用

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

const result = await recordRecentVoice({
  limit: '1',
})

console.log(result.body)

补充说明

说明 : 调用此接口,可获得最近播放-声音

可选参数 : limit : 返回数量,默认为 100

接口地址 : /record/recent/voice

调用例子 : /record/recent/voice?limit=1

Released under the MIT License.