mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
feat: 新增私信和通知接口
This commit is contained in:
parent
5e3c84e6c3
commit
7eca25d390
@ -1,4 +1,7 @@
|
||||
# 更新日志
|
||||
### 4.8.10 | 2023.04.07
|
||||
- 补充私信和通知接口
|
||||
|
||||
### 4.8.9 | 2023.01.18
|
||||
- 补充一起听相关接口 #1677
|
||||
|
||||
|
11
README.MD
11
README.MD
@ -378,6 +378,17 @@ banner({ type:0 }).then(res=>{
|
||||
239. 音乐人任务(新)
|
||||
240. 内部版本接口
|
||||
241. 歌单更新播放量
|
||||
242. 黑胶时光机
|
||||
243. 音乐百科 - 简要信息
|
||||
244. 乐谱列表
|
||||
245. 乐谱内容
|
||||
246. 曲风列表
|
||||
247. 曲风偏好
|
||||
248. 曲风详情
|
||||
249. 曲风-歌曲
|
||||
250. 曲风-专辑
|
||||
251. 曲风-歌单
|
||||
252. 曲风-歌手
|
||||
|
||||
## 更新日志
|
||||
|
||||
|
@ -268,6 +268,7 @@
|
||||
250. 曲风-专辑
|
||||
251. 曲风-歌单
|
||||
252. 曲风-歌手
|
||||
253. 私信和通知接口
|
||||
|
||||
## 安装
|
||||
|
||||
@ -802,6 +803,14 @@ signature:用户签名
|
||||
|
||||
**调用例子 :** `/avatar/upload?imgSize=200`
|
||||
|
||||
### 私信和通知接口
|
||||
|
||||
说明 : 登录后调用此接口,可获取私信和通知数量信息
|
||||
|
||||
**接口地址 :** `/pl/count`
|
||||
|
||||
**调用例子 :** `/pl/count`
|
||||
|
||||
### 国家编码列表
|
||||
|
||||
说明 : 调用此接口,可获取国家编码列表
|
||||
@ -1396,13 +1405,13 @@ tags: 歌单标签
|
||||
|
||||
**调用例子 :** `/playlist/track/all?id=24381616&limit=10&offset=1`
|
||||
|
||||
> 注:关于`offset`,你可以这样理解,假设你当前的歌单有100首歌
|
||||
> 注:关于`offset`,你可以这样理解,假设你当前的歌单有200首歌
|
||||
>
|
||||
> 你传入limit=10&offset=0等价于limit=10,你会得到第1-10首歌曲
|
||||
>
|
||||
> 你传入limit=10&offset=1,你会得到第2-11首歌曲
|
||||
>
|
||||
> 如果你设置limit=10&offset=2,你就会得到第3-12首歌曲
|
||||
> 你传入limit=50&offset=0等价于limit=50,你会得到第1-50首歌曲
|
||||
|
||||
> 你传入limit=50&offset=50,你会得到第51-100首歌曲
|
||||
|
||||
> 如果你设置limit=50&offset=100,你就会得到第101-150首歌曲
|
||||
|
||||
|
||||
### 歌单详情动态
|
||||
|
2
interface.d.ts
vendored
2
interface.d.ts
vendored
@ -1686,3 +1686,5 @@ export function style_artist(
|
||||
cursor?: number | string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function pl_count(params: RequestBaseConfig): Promise<Response>
|
||||
|
10
module/pl_count.js
Normal file
10
module/pl_count.js
Normal file
@ -0,0 +1,10 @@
|
||||
// 数字专辑-新碟上架
|
||||
module.exports = (query, request) => {
|
||||
const data = {}
|
||||
return request('POST', `https://music.163.com/weapi/pl/count`, data, {
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy,
|
||||
realIP: query.realIP,
|
||||
})
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "4.8.9",
|
||||
"version": "4.8.10",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user