mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
修复获取用户播放记录
接口参数错误问题 增加国家编码列表
接口
This commit is contained in:
parent
9a25400234
commit
76cea02b23
@ -1,4 +1,9 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
### 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
|
### 3.34.1 | 2020.07.06
|
||||||
- 登录接口增加 `md5_password` 参数 [#839](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/839)
|
- 登录接口增加 `md5_password` 参数 [#839](https://github.com/Binaryify/NeteaseCloudMusicApi/issues/839)
|
||||||
|
|
||||||
|
@ -174,6 +174,7 @@
|
|||||||
153. 获取全部视频列表接口
|
153. 获取全部视频列表接口
|
||||||
154. 获取历史日推可用日期列表
|
154. 获取历史日推可用日期列表
|
||||||
155. 获取历史日推详细数据
|
155. 获取历史日推详细数据
|
||||||
|
156. 国家编码列表
|
||||||
|
|
||||||
## 环境要求
|
## 环境要求
|
||||||
|
|
||||||
|
@ -171,6 +171,7 @@
|
|||||||
153. 获取全部视频列表接口
|
153. 获取全部视频列表接口
|
||||||
154. 获取历史日推可用日期列表
|
154. 获取历史日推可用日期列表
|
||||||
155. 获取历史日推详细数据
|
155. 获取历史日推详细数据
|
||||||
|
156. 国家编码列表
|
||||||
|
|
||||||
## 安装
|
## 安装
|
||||||
|
|
||||||
@ -517,6 +518,11 @@ signature:用户签名
|
|||||||
|
|
||||||
**调用例子 :** `/user/update?gender=0&signature=测试签名&city=440300&nickname=binary&birthday=1525918298004&province=440000`
|
**调用例子 :** `/user/update?gender=0&signature=测试签名&city=440300&nickname=binary&birthday=1525918298004&province=440000`
|
||||||
|
|
||||||
|
### 国家编码列表
|
||||||
|
说明 : 调用此接口,可获取国家编码列表
|
||||||
|
|
||||||
|
**接口地址 :** `/countries/code/list`
|
||||||
|
|
||||||
### 获取用户歌单
|
### 获取用户歌单
|
||||||
|
|
||||||
说明 : 登陆后调用此接口 , 传入用户 id, 可以获取用户歌单
|
说明 : 登陆后调用此接口 , 传入用户 id, 可以获取用户歌单
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
// 国家编码列表
|
// 国家编码列表
|
||||||
module.exports = (query, request) => {
|
module.exports = (query, request) => {
|
||||||
const data = {}
|
const data = {}
|
||||||
return request(
|
return request(
|
||||||
'POST', `http://interface3.music.163.com/eapi/lbs/countries/v1`, data,
|
'POST', `http://interface3.music.163.com/eapi/lbs/countries/v1`, data,
|
||||||
{
|
{
|
||||||
crypto: 'eapi',
|
crypto: 'eapi',
|
||||||
cookie: query.cookie,
|
cookie: query.cookie,
|
||||||
proxy: query.proxy,
|
proxy: query.proxy,
|
||||||
url: '/api/lbs/countries/v1'
|
url: '/api/lbs/countries/v1'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "3.34.1",
|
"version": "3.34.2",
|
||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user