From 04ab092dac566d1302bc518212bf7fcf2d5d1bed Mon Sep 17 00:00:00 2001 From: JackuXL <58510349+JackuXL@users.noreply.github.com> Date: Mon, 9 Aug 2021 20:44:04 +0800 Subject: [PATCH] Update README.MD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加第三方SDK板块 --- README.MD | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/README.MD b/README.MD index 7780418..d02beac 100644 --- a/README.MD +++ b/README.MD @@ -10,6 +10,7 @@

+ ## 灵感来自 [disoul/electron-cloud-music](https://github.com/disoul/electron-cloud-music) @@ -28,13 +29,13 @@ ## 安装 ```shell - $ git clone git@github.com:Binaryify/NeteaseCloudMusicApi.git $ npm install ``` 或者 + ```shell $ git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git @@ -60,8 +61,11 @@ $ set PORT=4000 && node app.js ``` ## Vercel 部署 + v4.0.8 加入了 Vercel 配置文件,可以直接在 Vercel 下部署了,不需要自己的服务器 + ### 操作方法 + 1. fork 此项目 2. 在 Vercel 官网点击 `New Project` 3. 点击 `Import Git Repository` 并选择你 fork 的此项目并点击`import` @@ -70,7 +74,9 @@ v4.0.8 加入了 Vercel 配置文件,可以直接在 Vercel 下部署了,不需 6. `PROJECT NAME`自己填,`FRAMEWORK PRESET` 选 `Other` 然后直接点 `Deploy` 接着等部署完成即可 ## 可以在Node.js调用 + v3.31.0后支持Node.js调用,导入的方法为`module`内的文件名,返回内容包含`status`和`body`,`status`为状态码,`body`为请求返回内容,参考`module_example` 文件夹下的 `test.js` + ```js const { login_cellphone, user_cloud } = require('NeteaseCloudMusicApi') async function main() { @@ -93,6 +99,7 @@ main() ``` ## 支持 TypeScript + ```ts // test.ts import { banner } from 'NeteaseCloudMusicApi' @@ -112,6 +119,7 @@ banner({ type:0 }).then(res=>{ ## 功能特性 + 1. 登录 2. 刷新登录 3. 发送验证码 @@ -328,14 +336,14 @@ banner({ type:0 }).then(res=>{ 214. vip任务 215. 领取vip成长值 216. 歌手粉丝 -216. 数字专辑详情 -217. 数字专辑销量 -218. 音乐人数据概况 -219. 音乐人播放趋势 -220. 音乐人任务 -221. 账号云豆数 -222. 领取云豆 -223. 获取 VIP 信息 +217. 数字专辑详情 +218. 数字专辑销量 +219. 音乐人数据概况 +220. 音乐人播放趋势 +221. 音乐人任务 +222. 账号云豆数 +223. 领取云豆 +224. 获取 VIP 信息 ## 更新日志 @@ -350,7 +358,15 @@ $ npm test ![单元测试](https://raw.githubusercontent.com/Binaryify/NeteaseCloudMusicApi/master/static/screenshot1.png) ![单元测试](https://raw.githubusercontent.com/Binaryify/NeteaseCloudMusicApi/master/static/screenshot2.png) +## SDK + +| 语言 | 作者 | 地址 | 类型 | +| :--: | :-----------------------------------------: | :----------------------------------------------------------: | :----: | +| Java | [JackuXL](https://github.com/JackuXL) | [https://github.com/JackuXL/NeteaseCloudMusicApi-SDK](https://github.com/JackuXL/NeteaseCloudMusicApi-SDK) | 第三方 | +| Java | [1015770492](https://github.com/1015770492) | https://github.com/1015770492/yumbo-music-utils | 第三方 | + ## 贡献者 + ![](https://opencollective.com/NeteaseCloudMusicApi/contributors.svg?width=890) -- GitLab