Skip to main content

NEmusicApi

一个网易云音乐的Api框架

项目介绍

本项目基于网易云音乐API,实现了部分网易云音乐的功能,包括但不限于:

  • 搜索歌曲
  • 获取歌曲详情
  • 获取歌曲url
  • 下载歌曲

食用使用教程

  1. 使用pip安装 pip install nemusicapi
  2. 导入包,创建api
    from NEmusicApi import Api
    api = Api()
    
  3. 然后就可以愉快的使用了

举个栗子例子

demo.py

注意事项

  • 创建api的时候,不输入cookie或者cookie对应的账号没有vip,都有可能导致获取信息不完整,需要自己测试
  • 创建api的时候,不输入download_dir,在使用download_song方法的时候会raise异常

Metadata

Release files for nemusicapi 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nemusicapi 0.1.2
File Size Uploaded Provenance Actions
nemusicapi-0.1.2.tar.gz 4.8 kB Without provenance Details for nemusicapi-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nemusicapi 0.1.2
File Interpreter ABI Platform Actions
nemusicapi-0.1.2-py3-none-any.whl Python 3 none any Details for nemusicapi-0.1.2-py3-none-any.whl

Total release size: 10.9 kB

Release files / nemusicapi-0.1.2.tar.gz

Download URL nemusicapi-0.1.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
262a4edbdd9b8dd725125b173a13898c03ba5f46c5c0e9750fd3e17632f2d9c4
BLAKE2b-256 checksum
How to use checksums
41d4a1cfa88ec150d779fb14c14cb2bf07906833f86afcf18b222bc80f2bed6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Windows/10

Release files / nemusicapi-0.1.2-py3-none-any.whl

Download URL nemusicapi-0.1.2-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
156cac193650f49802a4f227163d6b025683665274d4a74c6013f0f118f7bab4
BLAKE2b-256 checksum
How to use checksums
37cd7e26fd01eaac464adf36b602a1e1b365ef497c98eb7bfdaee4b7a4f55f90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Windows/10

Security for nemusicapi 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page