This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1252 from chen310/master
增加若干接口
- Loading branch information
Showing
11 changed files
with
245 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// 歌手粉丝 | ||
|
||
module.exports = (query, request) => { | ||
const data = { | ||
id: query.id, | ||
limit: query.limit || 20, | ||
offset: query.offset || 0, | ||
} | ||
return request( | ||
'POST', | ||
`https://music.163.com/weapi/artist/fans/get`, | ||
data, | ||
{ | ||
crypto: 'weapi', | ||
cookie: query.cookie, | ||
proxy: query.proxy, | ||
realIP: query.realIP, | ||
}, | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// 数字专辑详情 | ||
|
||
module.exports = (query, request) => { | ||
const data = { | ||
id: query.id, | ||
} | ||
return request( | ||
'POST', | ||
`https://music.163.com/weapi/vipmall/albumproduct/detail`, | ||
data, | ||
{ | ||
crypto: 'weapi', | ||
cookie: query.cookie, | ||
proxy: query.proxy, | ||
realIP: query.realIP, | ||
}, | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// 数字专辑销量 | ||
|
||
module.exports = (query, request) => { | ||
const data = { | ||
albumIds: query.ids, | ||
} | ||
return request( | ||
'POST', | ||
`https://music.163.com/weapi/vipmall/albumproduct/album/query/sales`, | ||
data, | ||
{ | ||
crypto: 'weapi', | ||
cookie: query.cookie, | ||
proxy: query.proxy, | ||
realIP: query.realIP, | ||
}, | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// 账号云豆数 | ||
|
||
module.exports = (query, request) => { | ||
const data = {} | ||
return request( | ||
'POST', | ||
`https://music.163.com/weapi/cloudbean/get`, | ||
data, | ||
{ | ||
crypto: 'weapi', | ||
cookie: query.cookie, | ||
proxy: query.proxy, | ||
realIP: query.realIP, | ||
}, | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// 领取云豆 | ||
|
||
module.exports = (query, request) => { | ||
const data = { | ||
userMissionId: query.id, | ||
period: query.period, | ||
} | ||
return request( | ||
'POST', | ||
`https://music.163.com/weapi/nmusician/workbench/mission/reward/obtain/new`, | ||
data, | ||
{ | ||
crypto: 'weapi', | ||
cookie: query.cookie, | ||
proxy: query.proxy, | ||
realIP: query.realIP, | ||
}, | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// 音乐人数据概况 | ||
|
||
module.exports = (query, request) => { | ||
const data = {} | ||
return request( | ||
'POST', | ||
`https://music.163.com/weapi/creator/musician/statistic/data/overview/get`, | ||
data, | ||
{ | ||
crypto: 'weapi', | ||
cookie: query.cookie, | ||
proxy: query.proxy, | ||
realIP: query.realIP, | ||
}, | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// 音乐人歌曲播放趋势 | ||
|
||
module.exports = (query, request) => { | ||
const data = { | ||
startTime: query.startTime, | ||
endTime: query.endTime, | ||
} | ||
return request( | ||
'POST', | ||
`https://music.163.com/weapi/creator/musician/play/count/statistic/data/trend/get`, | ||
data, | ||
{ | ||
crypto: 'weapi', | ||
cookie: query.cookie, | ||
proxy: query.proxy, | ||
realIP: query.realIP, | ||
}, | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// 获取音乐人任务 | ||
|
||
module.exports = (query, request) => { | ||
const data = {} | ||
return request( | ||
'POST', | ||
`https://music.163.com/weapi/nmusician/workbench/mission/cycle/list`, | ||
data, | ||
{ | ||
crypto: 'weapi', | ||
cookie: query.cookie, | ||
proxy: query.proxy, | ||
realIP: query.realIP, | ||
}, | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5bd3b97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
netease-cloud-music-api – ./docs
netease-cloud-music-api-git-master-binaryify.vercel.app
neteasecloudmusicapi.vercel.app
5bd3b97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
netease-cloud-music-api-binaryify – ./
netease-cloud-music-api-binaryify-git-master-binaryify.vercel.app
netease-cloud-music-api-binaryify-binaryify.vercel.app
netease-cloud-music-api-binaryify.vercel.app