Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Vanishing597
NeteaseCloudMusicApi
提交
b6edef64
N
NeteaseCloudMusicApi
项目概览
Vanishing597
/
NeteaseCloudMusicApi
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
NeteaseCloudMusicApi
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b6edef64
编写于
3月 13, 2021
作者:
B
binaryify
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增一起听状态接口 #1170 #1098
上级
044ac78c
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
32 addition
and
2 deletion
+32
-2
.gitignore
.gitignore
+2
-1
CHANGELOG.MD
CHANGELOG.MD
+3
-0
docs/README.md
docs/README.md
+7
-0
interface.d.ts
interface.d.ts
+4
-0
module/listen_together_status.js
module/listen_together_status.js
+15
-0
package.json
package.json
+1
-1
未找到文件。
.gitignore
浏览文件 @
b6edef64
...
...
@@ -2,4 +2,5 @@
node_modules
*.log
.idea
.vscode
\ No newline at end of file
.vscode
.history
CHANGELOG.MD
浏览文件 @
b6edef64
# 更新日志
### 4.0.9 | 2021.3.13
-
新增一起听状态接口
[
#1170
](
https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1170
)
### 4.0.8 | 2021.2.27
-
加入vercel 配置文件,支持 vercel 部署
...
...
docs/README.md
浏览文件 @
b6edef64
...
...
@@ -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批量请求接口
说明 : 登录后调用此接口 ,传入接口和对应原始参数(原始参数非文档里写的参数,需参考源码),可批量请求接口
...
...
interface.d.ts
浏览文件 @
b6edef64
...
...
@@ -1405,3 +1405,7 @@ export function user_bindingcellphone(
password
?:
string
}
&
RequestBaseConfig
,
):
Promise
<
Response
>
export
function
listen_together_status
(
params
:
RequestBaseConfig
,
):
Promise
<
Response
>
module/listen_together_status.js
0 → 100644
浏览文件 @
b6edef64
// 一起听状态
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
,
},
)
}
package.json
浏览文件 @
b6edef64
{
"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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录