mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-04 20:08:56 +08:00
Merge pull request #1316 from JackuXL/patch-1
Update README.MD 添加第三方SDK板块
This commit is contained in:
commit
0e12a4239b
34
README.MD
34
README.MD
@ -10,6 +10,7 @@
|
|||||||
<a href="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi"><img src="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi/badges/gpa.svg" /></a>
|
<a href="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi"><img src="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi/badges/gpa.svg" /></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
## 灵感来自
|
## 灵感来自
|
||||||
|
|
||||||
[disoul/electron-cloud-music](https://github.com/disoul/electron-cloud-music)
|
[disoul/electron-cloud-music](https://github.com/disoul/electron-cloud-music)
|
||||||
@ -28,13 +29,13 @@
|
|||||||
## 安装
|
## 安装
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
||||||
$ git clone git@github.com:Binaryify/NeteaseCloudMusicApi.git
|
$ git clone git@github.com:Binaryify/NeteaseCloudMusicApi.git
|
||||||
|
|
||||||
$ npm install
|
$ npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
或者
|
或者
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git
|
$ git clone https://github.com/Binaryify/NeteaseCloudMusicApi.git
|
||||||
|
|
||||||
@ -60,8 +61,11 @@ $ set PORT=4000 && node app.js
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Vercel 部署
|
## Vercel 部署
|
||||||
|
|
||||||
v4.0.8 加入了 Vercel 配置文件,可以直接在 Vercel 下部署了,不需要自己的服务器
|
v4.0.8 加入了 Vercel 配置文件,可以直接在 Vercel 下部署了,不需要自己的服务器
|
||||||
|
|
||||||
### 操作方法
|
### 操作方法
|
||||||
|
|
||||||
1. fork 此项目
|
1. fork 此项目
|
||||||
2. 在 Vercel 官网点击 `New Project`
|
2. 在 Vercel 官网点击 `New Project`
|
||||||
3. 点击 `Import Git Repository` 并选择你 fork 的此项目并点击`import`
|
3. 点击 `Import Git Repository` 并选择你 fork 的此项目并点击`import`
|
||||||
@ -70,7 +74,9 @@ v4.0.8 加入了 Vercel 配置文件,可以直接在 Vercel 下部署了,不需
|
|||||||
6. `PROJECT NAME`自己填,`FRAMEWORK PRESET` 选 `Other` 然后直接点 `Deploy` 接着等部署完成即可
|
6. `PROJECT NAME`自己填,`FRAMEWORK PRESET` 选 `Other` 然后直接点 `Deploy` 接着等部署完成即可
|
||||||
|
|
||||||
## 可以在Node.js调用
|
## 可以在Node.js调用
|
||||||
|
|
||||||
v3.31.0后支持Node.js调用,导入的方法为`module`内的文件名,返回内容包含`status`和`body`,`status`为状态码,`body`为请求返回内容,参考`module_example` 文件夹下的 `test.js`
|
v3.31.0后支持Node.js调用,导入的方法为`module`内的文件名,返回内容包含`status`和`body`,`status`为状态码,`body`为请求返回内容,参考`module_example` 文件夹下的 `test.js`
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const { login_cellphone, user_cloud } = require('NeteaseCloudMusicApi')
|
const { login_cellphone, user_cloud } = require('NeteaseCloudMusicApi')
|
||||||
async function main() {
|
async function main() {
|
||||||
@ -93,6 +99,7 @@ main()
|
|||||||
```
|
```
|
||||||
|
|
||||||
## 支持 TypeScript
|
## 支持 TypeScript
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
// test.ts
|
// test.ts
|
||||||
import { banner } from 'NeteaseCloudMusicApi'
|
import { banner } from 'NeteaseCloudMusicApi'
|
||||||
@ -112,6 +119,7 @@ banner({ type:0 }).then(res=>{
|
|||||||
|
|
||||||
|
|
||||||
## 功能特性
|
## 功能特性
|
||||||
|
|
||||||
1. 登录
|
1. 登录
|
||||||
2. 刷新登录
|
2. 刷新登录
|
||||||
3. 发送验证码
|
3. 发送验证码
|
||||||
@ -328,14 +336,14 @@ banner({ type:0 }).then(res=>{
|
|||||||
214. vip任务
|
214. vip任务
|
||||||
215. 领取vip成长值
|
215. 领取vip成长值
|
||||||
216. 歌手粉丝
|
216. 歌手粉丝
|
||||||
216. 数字专辑详情
|
217. 数字专辑详情
|
||||||
217. 数字专辑销量
|
218. 数字专辑销量
|
||||||
218. 音乐人数据概况
|
219. 音乐人数据概况
|
||||||
219. 音乐人播放趋势
|
220. 音乐人播放趋势
|
||||||
220. 音乐人任务
|
221. 音乐人任务
|
||||||
221. 账号云豆数
|
222. 账号云豆数
|
||||||
222. 领取云豆
|
223. 领取云豆
|
||||||
223. 获取 VIP 信息
|
224. 获取 VIP 信息
|
||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
|
||||||
@ -350,7 +358,15 @@ $ npm test
|
|||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
## 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 | 第三方 |
|
||||||
|
|
||||||
## 贡献者
|
## 贡献者
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user