- 9
- 0
- 约1.39千字
- 约 2页
- 2023-08-25 发布于上海
- 举报
百度⾳乐api接⼝
百度⾳乐全接⼝ 会利⽤使⽤接⼝找歌简单⼜快捷
获取⽅式:GET
参数:format=json或xmlcalback=from=webapp_musicmethod=以下不同的参数获得不同的数据
PS:format根据开发需要可选择json或xmml,其他参数对应填⼊,calback是等于空的。
⼀、获取列表
例:method=baidu.ting.billboard.billListtype=1size=10offset=0
参数: type = 1-新歌榜,2-热歌榜,11-摇滚榜,12-爵⼠,16-流⾏,21-欧美⾦曲榜,22-经典⽼歌榜,23-情歌对唱榜,24-影视
⾦曲榜,25-⽹络歌曲榜
size = 10 //返回条⽬数量
offset = 0 //获取偏移
⼆、貌似是推⼴(⽆⽤)
例:method=baidu.ting.adv.showlist_=1430215999
参数:_ = 1430215999//时间戳
三、搜索
例:method=baidu.ting.search.catalogSugquery=海阔天空
参数:query = //搜索关键字
四、播放
例:method
原创力文档

文档评论(0)