diff --git a/CHANGELOG.MD b/CHANGELOG.MD
index 82fea9a..7222207 100644
--- a/CHANGELOG.MD
+++ b/CHANGELOG.MD
@@ -1,4 +1,7 @@
# 更新日志
+### 2.15.0 | 2018.07.30
+新增相关歌单推荐和付费精选接口,增加歌手列表接口按首字母索引查找参数
+
### 2.14.0 | 2018.07.03
修复无法使用邮箱问题
diff --git a/README.MD b/README.MD
index a54e551..cc2eaf8 100644
--- a/README.MD
+++ b/README.MD
@@ -90,6 +90,8 @@
68. 歌单分类
69. 收藏的歌手列表
70. 订阅的电台列表
+71. 相关歌单推荐
+72. 付费精选接口
## 环境要求
@@ -145,7 +147,7 @@ $ npm test
[
](https://github.com/nujhong)[
](https://github.com/zhangzhengyi12)[
](https://github.com/mchome)[
](https://github.com/pengx17)[
](https://github.com/LengYXin)[
](https://github.com/rccoder)
-[
](https://github.com/zhixuanziben)[
](https://github.com/LightStrawberry)[
](https://github.com/CeBkCn)[
](https://github.com/nondanee)[
](https://github.com/twesix)
+[
](https://github.com/zhixuanziben)[
](https://github.com/LightStrawberry)[
](https://github.com/CeBkCn)[
](https://github.com/nondanee)[
](https://github.com/twesix)[
](https://github.com/Means88)
## License
diff --git a/docs/README.md b/docs/README.md
index e9e18fd..8c07faa 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -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`, 可获得对应电台的详情介绍
diff --git a/package.json b/package.json
index 173cbca..433d5e5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
- "version": "2.14.0",
+ "version": "2.15.0",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
diff --git a/router/dj_paygift.js b/router/dj_paygift.js
new file mode 100644
index 0000000..9df0281
--- /dev/null
+++ b/router/dj_paygift.js
@@ -0,0 +1,20 @@
+// 付费电台
+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")
+ );
+};