mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-08-12 17:10:37 +00:00
Compare commits
5 Commits
1454ee216c
...
d525204dda
| Author | SHA1 | Date | |
|---|---|---|---|
| d525204dda | |||
| 6eb31984fd | |||
| 9faeb0aa25 | |||
|
|
f6db3e76e9 | ||
|
|
9163d48f0a |
11
interface.d.ts
vendored
11
interface.d.ts
vendored
@ -1594,6 +1594,10 @@ export function vip_growthpoint_get(
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function vip_growthpoint_getall(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function artist_fans(
|
||||
params: { id: number | string } & MultiPageConfig & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
@ -2049,6 +2053,13 @@ export function listen_data_report(
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listen_data_song_play_rank(
|
||||
params: {
|
||||
type?: string
|
||||
endTime?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listen_data_today_song(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
12
module/listen_data_song_play_rank.js
Normal file
12
module/listen_data_song_play_rank.js
Normal file
@ -0,0 +1,12 @@
|
||||
// 听歌足迹 - 歌曲播放排行 (Top20)
|
||||
const createOption = require('../util/option.js')
|
||||
module.exports = (query, request) => {
|
||||
return request(
|
||||
`/api/content/activity/listen/data/song/play/rank`,
|
||||
{
|
||||
type: query.type || 'month', //周 week 月 month
|
||||
endTime: query.endTime, // 不填就是本周/月的
|
||||
},
|
||||
createOption(query),
|
||||
)
|
||||
}
|
||||
11
module/vip_growthpoint_getall.js
Normal file
11
module/vip_growthpoint_getall.js
Normal file
@ -0,0 +1,11 @@
|
||||
// 一键领取所有会员成长值
|
||||
|
||||
const createOption = require('../util/option.js')
|
||||
module.exports = (query, request) => {
|
||||
const data = {}
|
||||
return request(
|
||||
`/api/vipnewcenter/app/level/task/reward/getall`,
|
||||
data,
|
||||
createOption(query, 'xeapi'),
|
||||
)
|
||||
}
|
||||
@ -3742,6 +3742,14 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
|
||||
|
||||
**调用例子 :** `/vip/growthpoint/get?ids=7043206830_7` `/vip/growthpoint/get?ids=8613118351_1,8607552957_1`
|
||||
|
||||
### 一键领取所有 vip 成长值
|
||||
|
||||
说明 : 登录后调用此接口 , 一键领取所有已完成的会员任务成长值奖励
|
||||
|
||||
**接口地址 :** `/vip/growthpoint/getall`
|
||||
|
||||
**调用例子 :** `/vip/growthpoint/getall`
|
||||
|
||||
### 歌手粉丝
|
||||
|
||||
说明 : 调用此接口 , 传入歌手 id, 可获取歌手粉丝
|
||||
@ -4810,6 +4818,23 @@ bitrate = Math.floor(br / 1000)
|
||||
|
||||
**接口地址 :** `/listen/data/today/song`
|
||||
|
||||
### 听歌足迹 - 歌曲播放排行
|
||||
|
||||
说明 : 登录后调用此接口, 获取歌曲播放排行, 返回每首歌的播放次数 (playCount); 默认返回前 20 名 (Top20), 不足则返回全部
|
||||
|
||||
**必选参数 :**
|
||||
|
||||
`type`: 维度类型 周 week 月 month
|
||||
|
||||
**可选参数 :**
|
||||
|
||||
`endTime` : 周: 每周周六 0 点的时间戳 月: 每月最后一天 0 点的时间戳
|
||||
不填就是本周/月的
|
||||
|
||||
**接口地址 :** `/listen/data/song/play/rank`
|
||||
|
||||
**调用例子 :** `/listen/data/song/play/rank?type=month`
|
||||
|
||||
### 听歌足迹 - 总收听时长
|
||||
|
||||
说明 : 登录后调用此接口, 获取总收听时长; 相关接口可能需要 vip 权限
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user