Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
鱼九·
NeteaseCloudMusicApi
提交
05084c7f
N
NeteaseCloudMusicApi
项目概览
鱼九·
/
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,发现更多精彩内容 >>
提交
05084c7f
编写于
4月 26, 2021
作者:
B
binaryify
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增云盘歌曲信息匹配纠正接口 #1212
上级
bf8f98d7
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
51 addition
and
2 deletion
+51
-2
CHANGELOG.MD
CHANGELOG.MD
+3
-0
README.MD
README.MD
+2
-0
docs/README.md
docs/README.md
+17
-1
interface.d.ts
interface.d.ts
+8
-0
module/cloud_match.js
module/cloud_match.js
+20
-0
package.json
package.json
+1
-1
未找到文件。
CHANGELOG.MD
浏览文件 @
05084c7f
# 更新日志
### 4.0.11 | 2021.4.26
-
新增云盘歌曲信息匹配纠正接口
[
#1212
](
https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1212
)
### 4.0.10 | 2021.4.09
-
新增用户历史评论接口
[
#1197
](
https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1197
)
...
...
README.MD
浏览文件 @
05084c7f
...
...
@@ -316,6 +316,8 @@ banner({ type:0 }).then(res=>{
202.
歌单详情动态
203.
绑定手机
204.
一起听状态
205.
用户历史评论
206.
云盘歌曲信息匹配纠正
## 更新日志
...
...
docs/README.md
浏览文件 @
05084c7f
...
...
@@ -221,6 +221,7 @@
203.
绑定手机
204.
一起听状态
205.
用户历史评论
206.
云盘歌曲信息匹配纠正
## 安装
...
...
@@ -826,7 +827,8 @@ tags: 歌单标签
**必选参数 :**
`uid`
: 用户 id
**可选参数 :**
**可选参数 :**
`limit`
: 返回数量 , 默认为 10
`time`
: 上一条数据的time,第一页不需要传,默认为0
...
...
@@ -2631,6 +2633,20 @@ type : 地区
**调用例子 :**
`/cloud`
### 云盘歌曲信息匹配纠正
说明 : 登录后调用此接口,可对云盘歌曲信息匹配纠正
**必选参数 :**
`uid`
: 用户id
`sid`
: 云盘的歌曲id
`asid`
: 要匹配的歌曲id
**接口地址 :**
`/cloud/match`
**调用例子 :**
`/cloud/match?uid=32953014&asid=0&sid=1321856840`
### 电台banner
说明 : 调用此接口,可获取电台banner
...
...
interface.d.ts
浏览文件 @
05084c7f
...
...
@@ -1417,3 +1417,11 @@ export function user_comment_history(
time
?:
number
|
string
}
&
RequestBaseConfig
,
):
Promise
<
Response
>
export
function
cloud_match
(
params
:
{
uid
:
number
|
string
sid
:
number
|
string
asid
:
number
|
string
}
&
RequestBaseConfig
,
):
Promise
<
Response
>
module/cloud_match.js
0 → 100644
浏览文件 @
05084c7f
module
.
exports
=
(
query
,
request
)
=>
{
query
.
cookie
.
os
=
'
ios
'
query
.
cookie
.
appver
=
'
8.1.20
'
const
data
=
{
userId
:
query
.
uid
,
songId
:
query
.
sid
,
adjustSongId
:
query
.
asid
,
}
return
request
(
'
POST
'
,
`https://music.163.com/api/cloud/user/song/match`
,
data
,
{
crypto
:
'
weapi
'
,
cookie
:
query
.
cookie
,
proxy
:
query
.
proxy
,
realIP
:
query
.
realIP
,
},
)
}
package.json
浏览文件 @
05084c7f
{
"name"
:
"NeteaseCloudMusicApi"
,
"version"
:
"4.0.1
0
"
,
"version"
:
"4.0.1
1
"
,
"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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录