mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-03-21 11:03:15 +00:00
feat: add musician_vip_tasks API, its module, and home.md documentation. (#95)
This commit is contained in:
parent
43d1c72f8f
commit
27002d7665
106
interface.d.ts
vendored
106
interface.d.ts
vendored
@ -153,58 +153,58 @@ export function artist_list(
|
||||
params: {
|
||||
area: ArtistArea
|
||||
initial?:
|
||||
| 'a'
|
||||
| 'b'
|
||||
| 'c'
|
||||
| 'd'
|
||||
| 'e'
|
||||
| 'f'
|
||||
| 'g'
|
||||
| 'h'
|
||||
| 'i'
|
||||
| 'j'
|
||||
| 'k'
|
||||
| 'l'
|
||||
| 'm'
|
||||
| 'n'
|
||||
| 'o'
|
||||
| 'p'
|
||||
| 'q'
|
||||
| 'r'
|
||||
| 's'
|
||||
| 't'
|
||||
| 'u'
|
||||
| 'v'
|
||||
| 'w'
|
||||
| 'x'
|
||||
| 'y'
|
||||
| 'z'
|
||||
| 'A'
|
||||
| 'B'
|
||||
| 'C'
|
||||
| 'D'
|
||||
| 'E'
|
||||
| 'F'
|
||||
| 'G'
|
||||
| 'H'
|
||||
| 'I'
|
||||
| 'J'
|
||||
| 'K'
|
||||
| 'L'
|
||||
| 'M'
|
||||
| 'N'
|
||||
| 'O'
|
||||
| 'P'
|
||||
| 'Q'
|
||||
| 'R'
|
||||
| 'S'
|
||||
| 'T'
|
||||
| 'U'
|
||||
| 'V'
|
||||
| 'W'
|
||||
| 'X'
|
||||
| 'Y'
|
||||
| 'Z'
|
||||
| 'a'
|
||||
| 'b'
|
||||
| 'c'
|
||||
| 'd'
|
||||
| 'e'
|
||||
| 'f'
|
||||
| 'g'
|
||||
| 'h'
|
||||
| 'i'
|
||||
| 'j'
|
||||
| 'k'
|
||||
| 'l'
|
||||
| 'm'
|
||||
| 'n'
|
||||
| 'o'
|
||||
| 'p'
|
||||
| 'q'
|
||||
| 'r'
|
||||
| 's'
|
||||
| 't'
|
||||
| 'u'
|
||||
| 'v'
|
||||
| 'w'
|
||||
| 'x'
|
||||
| 'y'
|
||||
| 'z'
|
||||
| 'A'
|
||||
| 'B'
|
||||
| 'C'
|
||||
| 'D'
|
||||
| 'E'
|
||||
| 'F'
|
||||
| 'G'
|
||||
| 'H'
|
||||
| 'I'
|
||||
| 'J'
|
||||
| 'K'
|
||||
| 'L'
|
||||
| 'M'
|
||||
| 'N'
|
||||
| 'O'
|
||||
| 'P'
|
||||
| 'Q'
|
||||
| 'R'
|
||||
| 'S'
|
||||
| 'T'
|
||||
| 'U'
|
||||
| 'V'
|
||||
| 'W'
|
||||
| 'X'
|
||||
| 'Y'
|
||||
| 'Z'
|
||||
type?: ArtistType
|
||||
} & MultiPageConfig &
|
||||
RequestBaseConfig,
|
||||
@ -1715,6 +1715,8 @@ export function nickname_check(
|
||||
|
||||
export function musician_tasks_new(params: RequestBaseConfig): Promise<Response>
|
||||
|
||||
export function musician_vip_tasks(params: RequestBaseConfig): Promise<Response>
|
||||
|
||||
export function playlist_update_playcount(
|
||||
params: {
|
||||
id?: number | string
|
||||
|
||||
11
module/musician_vip_tasks.js
Normal file
11
module/musician_vip_tasks.js
Normal file
@ -0,0 +1,11 @@
|
||||
// 获取音乐人任务
|
||||
|
||||
const createOption = require('../util/option.js')
|
||||
module.exports = (query, request) => {
|
||||
const data = {}
|
||||
return request(
|
||||
`/api/nmusician/workbench/special/right/vip/info`,
|
||||
data,
|
||||
createOption(query, 'eapi'),
|
||||
)
|
||||
}
|
||||
@ -3633,6 +3633,14 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
|
||||
|
||||
**调用例子 :** `/musician/tasks/new`
|
||||
|
||||
### 音乐人黑胶会员任务
|
||||
|
||||
说明 : 音乐人登录后调用此接口 , 可获取音乐人黑胶会员任务。返回的数据中`missionStatus`字段为任务状态,100 表示任务完成。
|
||||
|
||||
**接口地址 :** `/musician/vip/tasks`
|
||||
|
||||
**调用例子 :** `/musician/vip/tasks`
|
||||
|
||||
### 账号云豆数
|
||||
|
||||
说明 : 音乐人登录后调用此接口 , 可获取账号云豆数
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user