mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +08:00
feat(artist): 添加关注歌手新歌播放全部功能
- 新增 module/artist_new_song_playall.js 文件实现获取所有关注歌手最近50首新歌的功能 - 在文档中添加关注歌手最近新歌播放全部接口说明和调用示例 - 在类型定义文件中添加 artist_new_song_playall 函数声明
This commit is contained in:
Vendored
+4
@@ -1474,6 +1474,10 @@ export function artist_new_song(
|
|||||||
} & RequestBaseConfig,
|
} & RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
|
export function artist_new_song_playall(
|
||||||
|
params: RequestBaseConfig,
|
||||||
|
): Promise<Response>
|
||||||
|
|
||||||
export function artist_detail(
|
export function artist_detail(
|
||||||
params: {
|
params: {
|
||||||
id: number | string
|
id: number | string
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
// 获取所有关注歌手最近的 50 首新歌
|
||||||
|
|
||||||
|
const createOption = require('../util/option.js')
|
||||||
|
module.exports = (query, request) => {
|
||||||
|
return request(
|
||||||
|
`/api/sub/artist/new/works/song/playall`,
|
||||||
|
{},
|
||||||
|
createOption(query, 'eapi'),
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -3612,6 +3612,14 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
|
|||||||
|
|
||||||
**调用例子 :** `/artist/new/song?limit=1` `/artist/new/song?limit=1&before=1602777625000`
|
**调用例子 :** `/artist/new/song?limit=1` `/artist/new/song?limit=1&before=1602777625000`
|
||||||
|
|
||||||
|
### 关注歌手最近新歌 - 播放全部
|
||||||
|
|
||||||
|
说明 : 登录后调用此接口可获取所有关注歌手最近的 50 首新歌
|
||||||
|
|
||||||
|
**接口地址 :** `/artist/new/song/playall`
|
||||||
|
|
||||||
|
**调用例子 :** `/artist/new/song/playall`
|
||||||
|
|
||||||
### 关注歌手新 MV
|
### 关注歌手新 MV
|
||||||
|
|
||||||
说明 :登录后调用此接口可获取关注歌手新 MV
|
说明 :登录后调用此接口可获取关注歌手新 MV
|
||||||
|
|||||||
Reference in New Issue
Block a user