Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Vanishing597
NeteaseCloudMusicApi
提交
9a42fc1a
N
NeteaseCloudMusicApi
项目概览
Vanishing597
/
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,发现更多精彩内容 >>
提交
9a42fc1a
编写于
8月 08, 2018
作者:
N
Nzix
提交者:
GitHub
8月 08, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #7 from Binaryify/master
sync
上级
af07374b
10f8e0ab
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
43 addition
and
2 deletion
+43
-2
CHANGELOG.MD
CHANGELOG.MD
+3
-0
README.MD
README.MD
+3
-1
docs/README.md
docs/README.md
+16
-0
package.json
package.json
+1
-1
router/dj_paygift.js
router/dj_paygift.js
+20
-0
未找到文件。
CHANGELOG.MD
浏览文件 @
9a42fc1a
# 更新日志
### 2.15.0 | 2018.07.30
新增相关歌单推荐和付费精选接口,增加歌手列表接口按首字母索引查找参数
### 2.14.0 | 2018.07.03
修复无法使用邮箱问题
...
...
README.MD
浏览文件 @
9a42fc1a
...
...
@@ -90,6 +90,8 @@
68.
歌单分类
69.
收藏的歌手列表
70.
订阅的电台列表
71.
相关歌单推荐
72.
付费精选接口
## 环境要求
...
...
@@ -145,7 +147,7 @@ $ npm test
[
<img alt="nujhong" src="https://avatars1.githubusercontent.com/u/23186058?v=4&s=117" width="117">
](
https://github.com/nujhong
)[
<img alt="zhangzhengyi12" src="https://avatars1.githubusercontent.com/u/23502338?v=4&s=117" width="117">
]
(https://github.com/zhangzhengyi12)
[
<img alt="mchome" src="https://avatars1.githubusercontent.com/u/7392658?v=4&s=117" width="117">
](
https://github.com/mchome
)[
<img alt="pengx17" src="https://avatars1.githubusercontent.com/u/584378?v=4&s=117" width="117">
]
(https://github.com/pengx17)
[
<img alt="LengYXin" src="https://avatars1.githubusercontent.com/u/19631404?v=4&s=117" width="117">
](
https://github.com/LengYXin
)[
<img alt="rccoder" src="https://avatars3.githubusercontent.com/u/7554325?v=4&s=117" width="117">
]
(https://github.com/rccoder)
[
<img alt="zhixuanziben" src="https://avatars0.githubusercontent.com/u/18346513?v=4&s=117" width="117">
](
https://github.com/zhixuanziben
)[
<img alt="LightStrawberry" src="https://avatars3.githubusercontent.com/u/5920513?v=4&s=117" width="117">
]
(https://github.com/LightStrawberry)
[
<img alt="CeBkCn" src="https://avatars3.githubusercontent.com/u/14861605?v=4&s=117" width="117">
](
https://github.com/CeBkCn
)[
<img alt="nondanee" src="https://avatars0.githubusercontent.com/u/26399680?v=4&s=117" width="117">
]
(https://github.com/nondanee)
[
<img alt="twesix" src="https://avatars1.githubusercontent.com/u/16174733?v=4&s=117" width="117">
](
https://github.com/twesix
)
[
<img alt="zhixuanziben" src="https://avatars0.githubusercontent.com/u/18346513?v=4&s=117" width="117">
](
https://github.com/zhixuanziben
)[
<img alt="LightStrawberry" src="https://avatars3.githubusercontent.com/u/5920513?v=4&s=117" width="117">
]
(https://github.com/LightStrawberry)
[
<img alt="CeBkCn" src="https://avatars3.githubusercontent.com/u/14861605?v=4&s=117" width="117">
](
https://github.com/CeBkCn
)[
<img alt="nondanee" src="https://avatars0.githubusercontent.com/u/26399680?v=4&s=117" width="117">
]
(https://github.com/nondanee)
[
<img alt="twesix" src="https://avatars1.githubusercontent.com/u/16174733?v=4&s=117" width="117">
](
https://github.com/twesix
)
[
<img alt="Means88" src="https://avatars1.githubusercontent.com/u/5810331?s=460&v=47" width="117">
]
(https://github.com/Means88)
## License
...
...
docs/README.md
浏览文件 @
9a42fc1a
...
...
@@ -15,6 +15,9 @@
跨站请求伪造 (CSRF), 伪造请求头 , 调用官方 API
## 版本新特性
### 2.15.0 | 2018.07.30
新增相关歌单推荐和付费精选接口,增加歌手列表接口按首字母索引查找参数
### 2.14.0 | 2018.07.03
修复无法使用邮箱问题
...
...
@@ -126,6 +129,9 @@ banner 接口 , 增加刷新登录接口 , 增加电台相关接口 , 补充评
68.
歌单分类
69.
收藏的歌手列表
70.
订阅的电台列表
71.
相关歌单推荐
72.
付费精选接口
## 安装
...
...
@@ -442,6 +448,8 @@ tags:歌单tag
`offset`
: 偏移数量,用于分页 , 如
: 如 :( 页数 -1)
\*
30, 其中 30 为 limit 的值 , 默认为 0
`initial`
: 按首字母索引查找参数,如
`/artist/list?cat=1001&initial=b`
返回内容将以 name 字段开头为b或者拼音开头为b为顺序排列
category Code 取值:
```
入驻歌手 5001
...
...
@@ -1266,6 +1274,14 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
**调用例子 :**
`/dj/sublist`
### 电台 - 付费精选
说明 : 可以获取付费精选的电台列表 , 传入
`limit`
和
`offset`
可以进行分页
**接口地址 :**
`/dj/paygift`
**调用例子 :**
`/dj/paygift?limit=10&offset=20`
### 电台 - 详情
说明 : 登陆后调用此接口 , 传入
`rid`
, 可获得对应电台的详情介绍
...
...
package.json
浏览文件 @
9a42fc1a
{
"name"
:
"NeteaseCloudMusicApi"
,
"version"
:
"2.1
4
.0"
,
"version"
:
"2.1
5
.0"
,
"description"
:
"网易云音乐 NodeJS 版 API"
,
"scripts"
:
{
"start"
:
"node app.js"
,
...
...
router/dj_paygift.js
0 → 100644
浏览文件 @
9a42fc1a
// 付费电台
module
.
exports
=
(
req
,
res
,
createWebAPIRequest
,
request
)
=>
{
const
cookie
=
req
.
get
(
"
Cookie
"
)
?
req
.
get
(
"
Cookie
"
)
:
""
;
const
data
=
{
csrf_token
:
""
,
limit
:
req
.
query
.
limit
||
10
,
offset
:
req
.
query
.
offset
||
0
,
};
createWebAPIRequest
(
"
music.163.com
"
,
"
/weapi/djradio/home/paygift/list?_nmclfl=1
"
,
"
POST
"
,
data
,
cookie
,
music_req
=>
{
res
.
send
(
music_req
);
},
err
=>
res
.
status
(
502
).
send
(
"
fetch error
"
)
);
};
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录