Skip to main content

Nice API for developers who like music™

Project description

# MusicAPI ![GitHub](https://img.shields.io/github/license/kushao1267/MusicAPI.svg) ![Build](https://travis-ci.org/kushao1267/MusicAPI.svg?branch=master) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mozart.svg) [![codecov](https://codecov.io/gh/kushao1267/MusicAPI/branch/master/graph/badge.svg)](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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mozart-1.0.3-py3.6.egg (21.1 kB view details)

Uploaded Source

File details

Details for the file mozart-1.0.3-py3.6.egg.

File metadata

  • Download URL: mozart-1.0.3-py3.6.egg
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for mozart-1.0.3-py3.6.egg
Algorithm Hash digest
SHA256 875a673d909d247ea3d959f2891239aee1540c5cd3d5b7870dcd4eeac77f7e14
MD5 43443ef116d4f5e2e28743e63528850d
BLAKE2b-256 261d8fb05a28879881c9adb20a0cafaea990bfcf5b8002af18f13c0798a53f98

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page