mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-05-13 20:05:06 +00:00
Compare commits
3 Commits
0395d087d9
...
15fa49a2e8
| Author | SHA1 | Date | |
|---|---|---|---|
| 15fa49a2e8 | |||
|
|
f5fe69c863 | ||
|
|
b6be789ccd |
7
interface.d.ts
vendored
7
interface.d.ts
vendored
@ -1166,6 +1166,13 @@ export function song_url_v1(
|
|||||||
params: { id: string | number; level: SoundQualityType } & RequestBaseConfig,
|
params: { id: string | number; level: SoundQualityType } & RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
|
export function song_copyright_rcmd(
|
||||||
|
params: {
|
||||||
|
songid?: string | number
|
||||||
|
id?: string | number
|
||||||
|
} & RequestBaseConfig,
|
||||||
|
): Promise<Response>
|
||||||
|
|
||||||
export function top_album(
|
export function top_album(
|
||||||
params: {
|
params: {
|
||||||
area?: AlbumListArea
|
area?: AlbumListArea
|
||||||
|
|||||||
9
module/song_copyright_rcmd.js
Normal file
9
module/song_copyright_rcmd.js
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
// 灰色歌曲的其他版本推荐
|
||||||
|
|
||||||
|
const createOption = require('../util/option.js')
|
||||||
|
module.exports = (query, request) => {
|
||||||
|
const data = {
|
||||||
|
songid: query.songid || query.id,
|
||||||
|
}
|
||||||
|
return request(`/api/song/copyright/rcmd`, data, createOption(query, 'eapi'))
|
||||||
|
}
|
||||||
@ -5318,6 +5318,18 @@ let data = encodeURIComponent(
|
|||||||
|
|
||||||
**调用例子 :** `/song/creators?id=33894312`
|
**调用例子 :** `/song/creators?id=33894312`
|
||||||
|
|
||||||
|
### 灰色歌曲的其他版本推荐
|
||||||
|
|
||||||
|
说明 : 调用此接口, 传入灰色歌曲 id, 获取该歌曲的其他可播放版本推荐
|
||||||
|
|
||||||
|
**必选参数 :**
|
||||||
|
|
||||||
|
`songid`: 歌曲 id, 可使用 `id` 代替
|
||||||
|
|
||||||
|
**接口地址 :** `/song/copyright/rcmd`
|
||||||
|
|
||||||
|
**调用例子 :** `/song/copyright/rcmd?songid=27946878`
|
||||||
|
|
||||||
## 离线访问此文档
|
## 离线访问此文档
|
||||||
|
|
||||||
此文档同时也是 Progressive Web Apps(PWA), 加入了 serviceWorker, 可离线访问
|
此文档同时也是 Progressive Web Apps(PWA), 加入了 serviceWorker, 可离线访问
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user