# MusicAPI    [](https://codecov.io/gh/kushao1267/MusicAPI)
## About MusicAPI当前仅支持`Python3.5`及以上.
它提供了国内许多音乐的API,支持通过`music_id`和`音乐链接`两种方式来获取歌曲信息及下载链接(版权、会员的除外)。 使用者可以很容易地添加其他音乐类的API。
目前已支持的音乐有: - [x] 网易云音乐 - [x] QQ音乐 - [x] 虾米音乐 - [ ] 喜马拉雅 - [ ] 百度音乐 - [ ] 酷狗音乐
注: 该仓库仅可用于学习和交流实验用途,若用于商业用途,与本人无关。
## Install 推荐方式 ` pip install mozart `
其他方式: ` git clone git@github.com:kushao1267/MusicAPI.git python setup.py install `
## Usage 在MusicAPI目录下:
1.使用music_id访问
` $ python -m mozart -n netease -l http://music.163.com/song/1358275974/\?userid\=1769873017 [Music] singer:李子璇 song:豆你玩 cover:http://p1.music.126.net/326BBneDl4izrTBF8vJJxA==/109951163993105848.jpg download_url:http://m10.music.126.net/20190419145523/620fa37967fa54ab80c9987dbaba8e4a/ymusic/045d/0e5d/0553/37a1dc7beb972befb40629f085a5eb39.mp3 `
2.使用music share url访问
` $ python -m mozart -n netease -m 1358275974 [Music] singer:李子璇 song:豆你玩 cover:http://p2.music.126.net/326BBneDl4izrTBF8vJJxA==/109951163993105848.jpg download_url:http://m10.music.126.net/20190419145641/41f171066b22d8e496b63ff67c6ca429/ymusic/045d/0e5d/0553/37a1dc7beb972befb40629f085a5eb39.mp3 `
## License [MIT License](https://github.com/kushao1267/facade/blob/master/LICENSE)
Metadata
Release files for mozart 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mozart-1.0.3-py3.6.egg | Legacy Egg format | - | - | Details |
Release files / mozart-1.0.3-py3.6.egg
| Download URL | mozart-1.0.3-py3.6.egg |
|---|---|
| Size | 21.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
875a673d909d247ea3d959f2891239aee1540c5cd3d5b7870dcd4eeac77f7e14
|
|
BLAKE2b-256 checksum How to use checksums |
261d8fb05a28879881c9adb20a0cafaea990bfcf5b8002af18f13c0798a53f98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|