提交 9430758d 编写于 作者: B binaryify

新增歌单详情动态接口 #1088

上级 ffaa7422
# 更新日志
### 4.0.1 | 2021.1.09
- 新增歌单详情动态接口 [#1088](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1088)
### 4.0.0 | 2021.1.03
- 新增云盘上传接口,新增二维码登录相关接口和相关demo(http://localhost:3000/qrlogin.html, http://localhost:3000/cloud.html),更新 d.ts
......
......@@ -299,6 +299,11 @@ banner({ type:0 }).then(res=>{
195. 关注歌手新歌
196. 关注歌手新MV
197. 歌手详情
198. 云盘上传
199. 二维码登录
200. 话题详情
201. 话题详情热门动态
202. 歌单详情动态
## 更新日志
......
......@@ -217,6 +217,7 @@
199. 二维码登录
200. 话题详情
201. 话题详情热门动态
202. 歌单详情动态
## 安装
......@@ -1221,8 +1222,15 @@ tags: 歌单标签
**调用例子 :** `/playlist/detail?id=24381616`
返回数据如下图 :
![歌单详情](https://raw.githubusercontent.com/Binaryify/NeteaseCloudMusicApi/master/static/%E6%AD%8C%E5%8D%95%E8%AF%A6%E6%83%85.png)
### 歌单详情动态
说明 : 调用后可获取歌单详情动态部分,如评论数,是否收藏,播放数
**必选参数 :** `id` : 歌单 id
**接口地址 :** `/playlist/detail/dynamic`
**调用例子 :** `/playlist/detail/dynamic?id=24381616`
### 获取音乐 url
......
......@@ -3,11 +3,11 @@
> 网易云音乐 NodeJS 版 API
- 全部接口已升级到最新
- 具备登录接口,多达100多个接口
- 具备登录接口,多达200多个接口
- 更完善的文档
[GitHub](https://github.com/Binaryify/NeteaseCloudMusicApi)
[Get Started](#neteasecloudmusicapi)
![color](#ffffff)
\ No newline at end of file
![color](#ffffff)
......@@ -1389,3 +1389,7 @@ export function login_qr_check(
key?: number | string
} & RequestBaseConfig,
): Promise<Response>
export function playlist_detail_dynamic(
params: { id: string | number } & RequestBaseConfig,
): Promise<Response>
// 初始化名字
module.exports = (query, request) => {
const data = {
id: query.id,
n: 100000,
s: query.s || 8,
}
return request(
'POST',
`https://music.163.com/api/playlist/detail/dynamic`,
data,
{
crypto: 'api',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册