@neteasecloudmusicapienhanced/api 4.29.13 → 4.29.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ // 获取云盘歌词
2
+ const createOption = require('../util/option.js')
3
+ module.exports = (query, request) => {
4
+ const data = {
5
+ userId: query.uid,
6
+ songId: query.sid,
7
+ lv: -1,
8
+ kv: -1,
9
+ }
10
+ return request(`/api/cloud/lyric/get`, data, createOption(query, 'eapi'))
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neteasecloudmusicapienhanced/api",
3
- "version": "4.29.13",
3
+ "version": "4.29.14",
4
4
  "description": "为停更的网易云音乐 NodeJs API 提供持续的维护!",
5
5
  "scripts": {
6
6
  "dev": "nodemon app.js",
@@ -67,7 +67,7 @@
67
67
  ],
68
68
  "dependencies": {
69
69
  "@unblockneteasemusic/server": "^0.28.0",
70
- "axios": "^1.13.1",
70
+ "axios": "^1.13.2",
71
71
  "crypto-js": "^4.2.0",
72
72
  "dotenv": "^17.2.3",
73
73
  "express": "^5.1.0",
@@ -84,7 +84,7 @@
84
84
  },
85
85
  "devDependencies": {
86
86
  "@eslint/eslintrc": "^3.3.1",
87
- "@eslint/js": "^9.39.0",
87
+ "@eslint/js": "^9.39.1",
88
88
  "@types/express": "^5.0.5",
89
89
  "@types/express-fileupload": "^1.5.1",
90
90
  "@types/mocha": "^10.0.10",
@@ -95,7 +95,7 @@
95
95
  "eslint-config-prettier": "10.1.8",
96
96
  "eslint-plugin-html": "8.1.3",
97
97
  "eslint-plugin-prettier": "5.5.4",
98
- "globals": "^16.4.0",
98
+ "globals": "^16.5.0",
99
99
  "husky": "9.1.7",
100
100
  "intelli-espower-loader": "1.1.0",
101
101
  "lint-staged": "16.2.6",
@@ -4848,6 +4848,19 @@ let data = encodeURIComponent(
4848
4848
 
4849
4849
  **调用例子:** `/broadcast/channel/list`
4850
4850
 
4851
+ ### 获取云盘歌词
4852
+ 说明: 调用此接口, 获取云盘歌曲的歌词,歌词来自此文件的音乐元数据`LYRICS`标签。
4853
+
4854
+ **可选参数 :**
4855
+
4856
+ `uid`: 用户 id
4857
+
4858
+ `sid`: 云盘的歌曲 id
4859
+
4860
+ **接口地址:** `/cloud/lyric/get`
4861
+
4862
+ **调用例子:** `/cloud/lyric/get`
4863
+
4851
4864
  ## 离线访问此文档
4852
4865
 
4853
4866
  此文档同时也是 Progressive Web Apps(PWA), 加入了 serviceWorker, 可离线访问