mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
新增歌手详情接口 #1035
This commit is contained in:
parent
6e1a5b9aae
commit
4c5a1109fc
@ -1,6 +1,10 @@
|
||||
# 更新日志
|
||||
### 3.47.3 | 2020.11.22
|
||||
- 新增歌手详情接口 [#1035](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1035)
|
||||
|
||||
### 3.47.2 | 2020.11.15
|
||||
- 新增关注歌手新歌/新MV接口 [#1028](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1028)
|
||||
|
||||
### 3.47.1 | 2020.11.14
|
||||
- 修复使用post请求取消喜欢音乐会失败的问题 [#1024](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1024)
|
||||
|
||||
|
@ -294,6 +294,9 @@ banner({ type:0 }).then(res=>{
|
||||
192. 抱一抱评论
|
||||
193. 评论抱一抱列表
|
||||
194. 收藏的专栏
|
||||
195. 关注歌手新歌
|
||||
196. 关注歌手新MV
|
||||
197. 歌手详情
|
||||
|
||||
## 更新日志
|
||||
|
||||
|
@ -212,6 +212,7 @@
|
||||
194. 收藏的专栏
|
||||
195. 关注歌手新歌
|
||||
196. 关注歌手新MV
|
||||
197. 歌手详情
|
||||
|
||||
## 安装
|
||||
|
||||
@ -1960,6 +1961,16 @@ mp3url 不能直接用 , 可通过 `/song/url` 接口传入歌曲 id 获取具
|
||||
|
||||
**调用例子 :** `/artist/desc?id=6452` ( 周杰伦 )
|
||||
|
||||
### 获取歌手详情
|
||||
|
||||
说明 : 调用此接口 , 传入歌手 id, 可获得获取歌手详情
|
||||
|
||||
**必选参数 :** `id`: 歌手 id
|
||||
|
||||
**接口地址 :** `/artist/detail`
|
||||
|
||||
**调用例子 :** `/artist/detail?id=11972054` (Billie Eilish)
|
||||
|
||||
### 获取相似歌手
|
||||
|
||||
说明 : 调用此接口 , 传入歌手 id, 可获得相似歌手
|
||||
|
6
interface.d.ts
vendored
6
interface.d.ts
vendored
@ -1354,3 +1354,9 @@ export function artist_new_song(
|
||||
startTimestamp?: number | string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function artist_detail(
|
||||
params: {
|
||||
id: number | string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
15
module/artist_detail.js
Normal file
15
module/artist_detail.js
Normal file
@ -0,0 +1,15 @@
|
||||
module.exports = (query, request) => {
|
||||
return request(
|
||||
'POST',
|
||||
`https://music.163.com/api/artist/head/info/get`,
|
||||
{
|
||||
id: query.id,
|
||||
},
|
||||
{
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy,
|
||||
realIP: query.realIP,
|
||||
},
|
||||
)
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "3.47.2",
|
||||
"version": "3.47.3",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user