提交 76cea02b 编写于 作者: B binaryify

修复`获取用户播放记录`接口参数错误问题 增加`国家编码列表`接口

上级 9a254002
# 更新日志
### 3.34.2 | 2020.07.13
- 修复`获取用户播放记录`接口参数错误问题 [#849](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/849)
- 增加`国家编码列表`接口 [#841](https://github.com/Binaryify/NeteaseCloudMusicApi/pull/841)
### 3.34.1 | 2020.07.06
- 登录接口增加 `md5_password` 参数 [#839](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/839)
......
......@@ -174,6 +174,7 @@
153. 获取全部视频列表接口
154. 获取历史日推可用日期列表
155. 获取历史日推详细数据
156. 国家编码列表
## 环境要求
......
......@@ -171,6 +171,7 @@
153. 获取全部视频列表接口
154. 获取历史日推可用日期列表
155. 获取历史日推详细数据
156. 国家编码列表
## 安装
......@@ -517,6 +518,11 @@ signature:用户签名
**调用例子 :** `/user/update?gender=0&signature=测试签名&city=440300&nickname=binary&birthday=1525918298004&province=440000`
### 国家编码列表
说明 : 调用此接口,可获取国家编码列表
**接口地址 :** `/countries/code/list`
### 获取用户歌单
说明 : 登陆后调用此接口 , 传入用户 id, 可以获取用户歌单
......
// 国家编码列表
module.exports = (query, request) => {
const data = {}
return request(
'POST', `http://interface3.music.163.com/eapi/lbs/countries/v1`, data,
{
crypto: 'eapi',
cookie: query.cookie,
proxy: query.proxy,
url: '/api/lbs/countries/v1'
}
)
const data = {}
return request(
'POST', `http://interface3.music.163.com/eapi/lbs/countries/v1`, data,
{
crypto: 'eapi',
cookie: query.cookie,
proxy: query.proxy,
url: '/api/lbs/countries/v1'
}
)
}
\ No newline at end of file
{
"name": "NeteaseCloudMusicApi",
"version": "3.34.1",
"version": "3.34.2",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册