NeteaseCloudMusic APIs for Python 3.x 适用于 Python 3 的网易云音乐 API
Project description
PyNCM
安装
pip install pyncm
直接使用
python -m pyncm -h
说明
若 Python 环境已安装[Gooey](https://github.com/chriskiehl/Gooey),通过 `-m` 不带参数即启动GUI
使用示例
python -m pyncm http://music.163.com/song?id=31140560 --phone... --password...
python -m pyncm http://music.163.com/album?id=3111188&userid=315542615 ...
其他功能详见
API 使用示例
>>> from pyncm import apis
>>> # 获取歌曲信息
>>> apis.track.GetTrackAudio(29732235)
`{'data': [{'id': 29732235, 'url': 'http://m701.music...`
>>> # 获取歌曲详情
>>> apis.track.GetTrackDetail(29732235)
`{'songs': [{'name': 'Supernova', 'id': 2...`
>>> # 获取歌曲评论
>>> apis.track.GetTrackComments(29732235)
`{'isMusician': False, 'userId': -1, 'topComments': [], 'moreHot': True, 'hotComments': [{'user': {'locationInfo': None, 'liveIn ...`
已实现的算法,APIs
PR
Credit
Binaryify/NeteaseCloudMusicApi
衍生项目
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyncm-1.6.2.5.tar.gz
(26.5 kB
view details)
Built Distribution
pyncm-1.6.2.5-py3-none-any.whl
(36.4 kB
view details)
File details
Details for the file pyncm-1.6.2.5.tar.gz
.
File metadata
- Download URL: pyncm-1.6.2.5.tar.gz
- Upload date:
- Size: 26.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1923ba6dc14989a5648c0e6886cbaf826d876a69c4a0ba4b86c307f92bc9cb88 |
|
MD5 | 3663ace3320c4d0a9196f3f7b2f5aa9d |
|
BLAKE2b-256 | 13684ff2d5de3e8c150945073d5c105d8a518d9449f45eece94e40d2a155f1fd |
File details
Details for the file pyncm-1.6.2.5-py3-none-any.whl
.
File metadata
- Download URL: pyncm-1.6.2.5-py3-none-any.whl
- Upload date:
- Size: 36.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94b099a2ef291450cef446c5f4c63c447ec33d716ba6f5765ccbaa386fceb7c4 |
|
MD5 | ec34a2bba02a7d0d2acb5b52cdf1717e |
|
BLAKE2b-256 | a0726726ec0bf9302796f73efce567b1ffa0dfe431b96196cc2d6bb1ae0c6a50 |