mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-23 08:01:23 +08:00
Merge branch 'NeteaseCloudMusicApiEnhanced:main' into main
This commit is contained in:
+65
-3
@@ -1701,6 +1701,62 @@ tags: 歌单标签
|
||||
|
||||
**调用例子 :** `/comment/video?id=89ADDE33C0AAE8EC14B99F6750DB954D`
|
||||
|
||||
### 评论统计数据
|
||||
|
||||
说明 : 调用此接口 , 传入资源类型和资源 id 列表 , 可批量获取对应资源的评论统计数据 ( 不需要登录 )
|
||||
|
||||
**必选参数 :**
|
||||
|
||||
`type`: 数字 , 资源类型 , 对应以下类型
|
||||
|
||||
```
|
||||
0: 歌曲
|
||||
|
||||
1: mv
|
||||
|
||||
2: 歌单
|
||||
|
||||
3: 专辑
|
||||
|
||||
4: 电台节目
|
||||
|
||||
5: 视频
|
||||
|
||||
6: 动态
|
||||
|
||||
7: 电台
|
||||
```
|
||||
|
||||
`ids`: 资源 id 列表 , 多个 id 用逗号分隔 , 如 `186016,347230`
|
||||
|
||||
**接口地址 :** `/comment/info/list`
|
||||
|
||||
**调用例子 :** `/comment/info/list?type=0&ids=186016,347230`
|
||||
|
||||
**返回数据 :**
|
||||
|
||||
```json
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"latestLikedUsers": null,
|
||||
"liked": false,
|
||||
"comments": null,
|
||||
"resourceType": 4,
|
||||
"resourceId": 186016,
|
||||
"commentUpgraded": false,
|
||||
"musicianSaidCount": 0,
|
||||
"commentCountDesc": "100w+",
|
||||
"likedCount": 347,
|
||||
"commentCount": 1970844,
|
||||
"shareCount": 109721,
|
||||
"threadId": "R_SO_4_186016"
|
||||
}
|
||||
],
|
||||
"code": 200
|
||||
}
|
||||
```
|
||||
|
||||
### 热门评论
|
||||
|
||||
说明 : 调用此接口 , 传入 type, 资源 id 可获得对应资源热门评论 ( 不需要登录 )
|
||||
@@ -2798,12 +2854,14 @@ type : 地区
|
||||
**1. 后端代理模式 (默认)**
|
||||
|
||||
文件通过服务器转发到云存储,调用简单,但受服务器限制:
|
||||
|
||||
- Vercel Serverless Functions 限制请求体大小为 4.5MB
|
||||
- 自建服务器需配置足够大的请求体限制
|
||||
|
||||
**2. 客户端直传模式 (推荐用于 Vercel)**
|
||||
|
||||
文件直接从客户端上传到云存储服务器,绕过服务器限制:
|
||||
|
||||
- 支持大文件上传
|
||||
- 适合 Vercel、Netlify 等有请求体限制的平台
|
||||
- 需要前端配合实现
|
||||
@@ -2815,12 +2873,14 @@ type : 地区
|
||||
**接口地址 :** `/cloud/upload/token`
|
||||
|
||||
**必选参数 :**
|
||||
|
||||
- `cookie`: 网易云音乐 Cookie (在请求体中传递)
|
||||
- `md5`: 文件 MD5 值
|
||||
- `fileSize`: 文件大小(字节)
|
||||
- `filename`: 文件名
|
||||
|
||||
**返回数据 :**
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 200,
|
||||
@@ -2839,6 +2899,7 @@ type : 地区
|
||||
**接口地址 :** `/cloud/upload/complete`
|
||||
|
||||
**必选参数 :**
|
||||
|
||||
- `cookie`: 网易云音乐 Cookie (在请求体中传递)
|
||||
- `songId`: 歌曲 ID
|
||||
- `resourceId`: 资源 ID
|
||||
@@ -2846,6 +2907,7 @@ type : 地区
|
||||
- `filename`: 文件名
|
||||
|
||||
**可选参数 :**
|
||||
|
||||
- `song`: 歌曲名
|
||||
- `artist`: 艺术家
|
||||
- `album`: 专辑名
|
||||
@@ -2873,6 +2935,7 @@ type : 地区
|
||||
**调用例子 :** `/cloud/match?uid=32953014&sid=aaa&asid=bbb` `/cloud/match?uid=32953014&sid=bbb&asid=0`
|
||||
|
||||
### 获取云盘歌词
|
||||
|
||||
说明: 调用此接口, 获取云盘歌曲的歌词,歌词来自此文件的音乐元数据`LYRICS`标签。
|
||||
|
||||
**可选参数 :**
|
||||
@@ -4966,12 +5029,11 @@ let data = encodeURIComponent(
|
||||
|
||||
**调用例子:** `/vip/sign/info`
|
||||
|
||||
|
||||
### 用户的创建歌单列表
|
||||
|
||||
说明 : 调用此接口, 传入用户id, 获取用户的创建歌单列表
|
||||
|
||||
**必选参数 :**
|
||||
**必选参数 :**
|
||||
|
||||
`uid`: 用户 id
|
||||
|
||||
@@ -4989,7 +5051,7 @@ let data = encodeURIComponent(
|
||||
|
||||
说明 : 调用此接口, 传入用户id, 获取用户的收藏歌单列表
|
||||
|
||||
**必选参数 :**
|
||||
**必选参数 :**
|
||||
|
||||
`uid`: 用户 id
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta name="KEYWords" contect="网易云音乐,网易云音乐 api,网易云音乐 nodejs,网易云音乐 node.js">
|
||||
<meta name="description" content="网易云音乐 NodeJS API Enhanced">
|
||||
<title>网易云音乐 NodeJS API Enhanced</title>
|
||||
<link rel="icon" href="favicon.ico">
|
||||
<link rel="icon" href="netease.png">
|
||||
<meta name="description" content="Description">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta name="referrer" content="never">
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||
<g>
|
||||
<path fill="none" d="M0 0h24v24H0z"/>
|
||||
<path d="M10.421 11.375c-.294 1.028.012 2.064.784 2.653 1.061.81 2.565.3 2.874-.995.08-.337.103-.722.027-1.056-.23-1.001-.52-1.988-.792-2.996-1.33.154-2.543 1.172-2.893 2.394zm5.548-.287c.273 1.012.285 2.017-.127 3-1.128 2.69-4.721 3.14-6.573.826-1.302-1.627-1.28-3.961.06-5.734.78-1.032 1.804-1.707 3.048-2.054l.379-.104c-.084-.415-.188-.816-.243-1.224-.176-1.317.512-2.503 1.744-3.04 1.226-.535 2.708-.216 3.53.76.406.479.395 1.08-.025 1.464-.412.377-.996.346-1.435-.09-.247-.246-.51-.44-.877-.436-.525.006-.987.418-.945.937.037.468.173.93.3 1.386.022.078.216.135.338.153 1.334.197 2.504.731 3.472 1.676 2.558 2.493 2.861 6.531.672 9.44-1.529 2.032-3.61 3.168-6.127 3.409-4.621.44-8.664-2.53-9.7-7.058C2.515 10.255 4.84 5.831 8.795 4.25c.586-.234 1.143-.031 1.371.498.232.537-.019 1.086-.61 1.35-2.368 1.06-3.817 2.855-4.215 5.424-.533 3.433 1.656 6.776 5 7.72 2.723.77 5.658-.166 7.308-2.33 1.586-2.08 1.4-5.099-.427-6.873a3.979 3.979 0 0 0-1.823-1.013c.198.716.389 1.388.57 2.062z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 763 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Reference in New Issue
Block a user