An open source NetEase cloud music api project

Yesterday I found an open source music apiproject on Github. The restfulstyle, Jsonformat, and provided functions are really the most comprehensive in history, enough for you to develop a client of your own. And the author is very caring, in addition to open source this project also provides a detailed user documentation. Today I share it with everyone, and I can count on everyone to find something to play on May 1

Let me take a look at what interface functions the project provides

Insert picture description here
This is just one of the points. After reading it, do you have the urge to play a music app?

In order to ensure that the project can be used, I simply deploy the project on my own machine according to the documents provided by the author, and the pro test can run and be used normally. The following is a brief sharing process for everyone to get started quickly. Although the author's document is very detailed, for Xiaobai, there are still some details missing, I will simply add it.

  1. The project is developed using JavaScript and is based on Node.js technology. Therefore, we must first build a node, npm development environment. As long as there is a Node.js running environment, the project can be deployed on any operating system. This step is easy to search and solve by yourself. Sigh, js is really powerful, the front end background is omnipotent.
  2. Download the project source code.
  3. cd to the root directory of the project, execute the npm
    install command, the main function of this step is to download the dependent packages needed for the project to run according to the package.json file provided by the project.
  4. Execute the node app.js command to start the server, the default port is 3000, as shown below

Insert picture description here
5. Interface test

http://localhost:3000/mv/url?id=5436712

According to the id to get the mv video of the song, the access results are as follows

Insert picture description here
Let's verify the URL of mv

Insert picture description here

Perfect, I decided to write a program to download all the mv.

In addition, the author also provides another more advanced deployment method-Docker container operation, you can also configure proxy and other complex functions, these will be studied on their own.

The only regret is that the background monitoring and detailed log system are not provided. Without these two, it is still a pain to put it into use. Or maybe I didn't find it. Competent readers can make up and let me know by the way. Of course, everyone can play with this kind of project, just study it, and then pull it down for commercial use. On the one hand, the infringement, on the other hand, the interface will certainly have limited problems.

Finally give the address

Project address
usage document

In addition, it is strongly recommended that you back up the project locally to prevent public relations.

Published 252 original articles · Like 106 · Visits 30,000+

Guess you like

Origin blog.csdn.net/weixin_42554191/article/details/105520611