提交 b6edef64 编写于 作者: B binaryify

新增一起听状态接口 #1170 #1098

上级 044ac78c
......@@ -2,4 +2,5 @@
node_modules
*.log
.idea
.vscode
\ No newline at end of file
.vscode
.history
# 更新日志
### 4.0.9 | 2021.3.13
- 新增一起听状态接口 [#1170](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1170)
### 4.0.8 | 2021.2.27
- 加入vercel 配置文件,支持 vercel 部署
......
......@@ -219,6 +219,7 @@
201. 话题详情热门动态
202. 歌单详情动态
203. 绑定手机
204. 一起听状态
## 安装
......@@ -3228,6 +3229,12 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
**调用例子 :** `/artist/new/mv?limit=1` `/artist/new/mv?limit=1&before=1602777625000`
### 一起听状态
说明 :登录后调用此接口可获取一起听状态
**接口地址 :** `/listen/together/status`
**调用例子 :** `/listen/together/status`
### batch批量请求接口
说明 : 登录后调用此接口 ,传入接口和对应原始参数(原始参数非文档里写的参数,需参考源码),可批量请求接口
......
......@@ -1405,3 +1405,7 @@ export function user_bindingcellphone(
password?: string
} & RequestBaseConfig,
): Promise<Response>
export function listen_together_status(
params: RequestBaseConfig,
): Promise<Response>
// 一起听状态
module.exports = (query, request) => {
return request(
'POST',
`https://music.163.com/api/listen/together/status/get`,
{},
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}
{
"name": "NeteaseCloudMusicApi",
"version": "4.0.8",
"version": "4.0.9",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册