Skip to content

最近播放-歌曲

调用此接口,可获得最近播放-歌曲

接口信息

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

请求参数

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

HTTP 示例

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

编程式调用

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

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

console.log(result.body)

补充说明

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

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

接口地址 : /record/recent/song

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

Released under the MIT License.