mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 10:52:06 +08:00
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ node_modules
|
|||||||
*.log
|
*.log
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
|
.history
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
### 4.0.9 | 2021.3.13
|
||||||
|
- 新增一起听状态接口 [#1170](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1170)
|
||||||
|
|
||||||
### 4.0.8 | 2021.2.27
|
### 4.0.8 | 2021.2.27
|
||||||
- 加入vercel 配置文件,支持 vercel 部署
|
- 加入vercel 配置文件,支持 vercel 部署
|
||||||
|
|
||||||
|
@ -219,6 +219,7 @@
|
|||||||
201. 话题详情热门动态
|
201. 话题详情热门动态
|
||||||
202. 歌单详情动态
|
202. 歌单详情动态
|
||||||
203. 绑定手机
|
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`
|
**调用例子 :** `/artist/new/mv?limit=1` `/artist/new/mv?limit=1&before=1602777625000`
|
||||||
|
|
||||||
|
### 一起听状态
|
||||||
|
说明 :登录后调用此接口可获取一起听状态
|
||||||
|
|
||||||
|
**接口地址 :** `/listen/together/status`
|
||||||
|
|
||||||
|
**调用例子 :** `/listen/together/status`
|
||||||
|
|
||||||
### batch批量请求接口
|
### batch批量请求接口
|
||||||
说明 : 登录后调用此接口 ,传入接口和对应原始参数(原始参数非文档里写的参数,需参考源码),可批量请求接口
|
说明 : 登录后调用此接口 ,传入接口和对应原始参数(原始参数非文档里写的参数,需参考源码),可批量请求接口
|
||||||
|
4
interface.d.ts
vendored
4
interface.d.ts
vendored
@ -1405,3 +1405,7 @@ export function user_bindingcellphone(
|
|||||||
password?: string
|
password?: string
|
||||||
} & RequestBaseConfig,
|
} & RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
|
export function listen_together_status(
|
||||||
|
params: RequestBaseConfig,
|
||||||
|
): Promise<Response>
|
||||||
|
15
module/listen_together_status.js
Normal file
15
module/listen_together_status.js
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// 一起听状态
|
||||||
|
|
||||||
|
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,
|
||||||
|
},
|
||||||
|
)
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "4.0.8",
|
"version": "4.0.9",
|
||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
|
Reference in New Issue
Block a user