Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
彼暗flower
NeteaseCloudMusicApi
提交
20309e44
N
NeteaseCloudMusicApi
项目概览
彼暗flower
/
NeteaseCloudMusicApi
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
NeteaseCloudMusicApi
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
20309e44
编写于
11月 15, 2020
作者:
B
binaryify
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增关注歌手新歌/新MV接口 #1028
上级
65e9215d
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
88 addition
and
1 deletion
+88
-1
CHANGELOG.MD
CHANGELOG.MD
+2
-0
docs/README.md
docs/README.md
+26
-0
interface.d.ts
interface.d.ts
+21
-0
module/artist_new_mv.js
module/artist_new_mv.js
+19
-0
module/artist_new_song.js
module/artist_new_song.js
+19
-0
package.json
package.json
+1
-1
未找到文件。
CHANGELOG.MD
浏览文件 @
20309e44
# 更新日志
# 更新日志
### 3.47.2 | 2020.11.15
-
新增关注歌手新歌/新MV接口
[
#1028
](
https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1028
)
### 3.47.1 | 2020.11.14
### 3.47.1 | 2020.11.14
-
修复使用post请求取消喜欢音乐会失败的问题
[
#1024
](
https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1024
)
-
修复使用post请求取消喜欢音乐会失败的问题
[
#1024
](
https://github.com/Binaryify/NeteaseCloudMusicApi/issues/1024
)
...
...
docs/README.md
浏览文件 @
20309e44
...
@@ -210,6 +210,8 @@
...
@@ -210,6 +210,8 @@
192.
抱一抱评论
192.
抱一抱评论
193.
评论抱一抱列表
193.
评论抱一抱列表
194.
收藏的专栏
194.
收藏的专栏
195.
关注歌手新歌
196.
关注歌手新MV
## 安装
## 安装
...
@@ -3098,6 +3100,30 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
...
@@ -3098,6 +3100,30 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
**调用例子 :**
`/yunbei/tasks/expense?limit=1`
**调用例子 :**
`/yunbei/tasks/expense?limit=1`
### 关注歌手新歌
说明 :登录后调用此接口可获取关注歌手新歌
**可选参数 :**
`limit`
: 取出评论数量 , 默认为 20
`before`
: 上一页数据返回的publishTime的数据
**接口地址 :**
`/artist/new/song`
**调用例子 :**
`/artist/new/song?limit=1`
`/artist/new/song?limit=1&before=1602777625000`
### 关注歌手新MV
说明 :登录后调用此接口可获取关注歌手新MV
**可选参数 :**
`limit`
: 取出评论数量 , 默认为 20
`before`
: 上一页数据返回的publishTime的数据
**接口地址 :**
`/artist/new/mv`
**调用例子 :**
`/artist/new/mv?limit=1`
`/artist/new/mv?limit=1&before=1602777625000`
### batch批量请求接口
### batch批量请求接口
说明 : 登录后调用此接口 ,传入接口和对应原始参数(原始参数非文档里写的参数,需参考源码),可批量请求接口
说明 : 登录后调用此接口 ,传入接口和对应原始参数(原始参数非文档里写的参数,需参考源码),可批量请求接口
...
...
interface.d.ts
浏览文件 @
20309e44
...
@@ -1333,3 +1333,24 @@ export function topic_sublist(
...
@@ -1333,3 +1333,24 @@ export function topic_sublist(
offset
?:
number
|
string
offset
?:
number
|
string
}
&
RequestBaseConfig
,
}
&
RequestBaseConfig
,
):
Promise
<
Response
>
):
Promise
<
Response
>
export
function
topic_sublist
(
params
:
{
limit
?:
number
|
string
offset
?:
number
|
string
}
&
RequestBaseConfig
,
):
Promise
<
Response
>
export
function
artist_new_mv
(
params
:
{
limit
?:
number
|
string
startTimestamp
?:
number
|
string
}
&
RequestBaseConfig
,
):
Promise
<
Response
>
export
function
artist_new_song
(
params
:
{
limit
?:
number
|
string
startTimestamp
?:
number
|
string
}
&
RequestBaseConfig
,
):
Promise
<
Response
>
module/artist_new_mv.js
0 → 100644
浏览文件 @
20309e44
module
.
exports
=
(
query
,
request
)
=>
{
query
.
cookie
.
os
=
'
ios
'
query
.
cookie
.
appver
=
'
7.3.40
'
const
data
=
{
limit
:
query
.
limit
||
20
,
startTimestamp
:
query
.
before
||
Date
.
now
(),
}
return
request
(
'
POST
'
,
`https://music.163.com/api/sub/artist/new/works/mv/list`
,
data
,
{
crypto
:
'
weapi
'
,
cookie
:
query
.
cookie
,
proxy
:
query
.
proxy
,
realIP
:
query
.
realIP
,
},
)
}
module/artist_new_song.js
0 → 100644
浏览文件 @
20309e44
module
.
exports
=
(
query
,
request
)
=>
{
query
.
cookie
.
os
=
'
ios
'
query
.
cookie
.
appver
=
'
7.3.40
'
const
data
=
{
limit
:
query
.
limit
||
20
,
startTimestamp
:
query
.
before
||
Date
.
now
(),
}
return
request
(
'
POST
'
,
`https://music.163.com/api/sub/artist/new/works/song/list`
,
data
,
{
crypto
:
'
weapi
'
,
cookie
:
query
.
cookie
,
proxy
:
query
.
proxy
,
realIP
:
query
.
realIP
,
},
)
}
package.json
浏览文件 @
20309e44
{
{
"name"
:
"NeteaseCloudMusicApi"
,
"name"
:
"NeteaseCloudMusicApi"
,
"version"
:
"3.47.
1
"
,
"version"
:
"3.47.
2
"
,
"description"
:
"网易云音乐 NodeJS 版 API"
,
"description"
:
"网易云音乐 NodeJS 版 API"
,
"scripts"
:
{
"scripts"
:
{
"start"
:
"node app.js"
,
"start"
:
"node app.js"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录