Skip to main content

NeteaseCloudMusic APIs for Python 3.x 适用于 Python 3 的网易云音乐 API

Project description

Logo

PyNCM

安装

pip install pyncm

直接使用

python -m pyncm -h

说明

若 Python 环境已安装[Gooey](https://github.com/chriskiehl/Gooey),通过 `-m` 不带参数即启动GUI

Gooey 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

Wiki - Pages

Wiki - Cryptograhpy

PR

Wiki - Home

Credit

Android逆向——网易云音乐排行榜api(上)

Binaryify/NeteaseCloudMusicApi

衍生项目

PyNCMd

Project details


Release history Release notifications | RSS feed

This version

1.6.2

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.tar.gz (26.6 kB view hashes)

Uploaded Source

Built Distribution

pyncm-1.6.2-py3-none-any.whl (36.5 kB view hashes)

Uploaded Python 3

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