Skip to main content

网易云音乐部分常用开放信息类 API 调用和部分需要用户凭证的 API 调用,包括音乐、歌单、搜索结果的获取,以及音乐的获取及信息写入。

Project description

class163

网易云音乐部分常用开放信息类 API 调用和部分需要用户凭证的 API 调用, 包括音乐/歌单/搜索结果的获取, 以及音乐的获取及信息写入.

长描述文件目前记录从 `0.7.0` 版本开始的大版本更新的更新文档.

## 0.7.0

### 新增

- `class163.search.Search.search_result_sorted`: 搜索结果自识别歌单/歌曲后, 存储为包含 `Playlist` 或 `Music` 的列表;

- `class163.music.music_from_detail`: 从搜索结果导入音乐;

- `class163.playlist.playlist_from_detail`: 从搜索结果导入歌单;

- `class163.playlist.Playlist.extract_detail`: 新增可选参数 `id_keys` 用于导入歌单 id;

- `class163.playlist.Playlist.update_encode_data`: 更新解码参数的函数, 无需参数.

### 修订

- `class163.playlist.Playlist.extract_detail`: 为满足搜索结果导入的歌单需求:

1. 在 97 行加入 `try-except` 语句排除可能的没有歌单内歌曲的 id;

2. 修改 `create_time` 和 `last_update_time` 的载入方式, 使得在没有创建时间的时间戳和最后更新时间的时间戳的时候能正常导入;

- `class163.music.update_encode_data`: 从 `encode_data_update` 更名为 `update_encode_data`.

### 修复

本次更新没有修复的 bugs.

Project details


Download files

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

Source Distribution

class163-0.7.1.5.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

class163-0.7.1.5-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file class163-0.7.1.5.tar.gz.

File metadata

  • Download URL: class163-0.7.1.5.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for class163-0.7.1.5.tar.gz
Algorithm Hash digest
SHA256 ccf326b3a13ac190d17d9ad98cdaf3a48ea8205a1dc29f031707f2ca6de74a47
MD5 a96b63bff9b093d78d360802048944b5
BLAKE2b-256 c3d1e1433b23facd95c1c18bfa841fcfba7a8a5a0a11c75683859c362db8b660

See more details on using hashes here.

File details

Details for the file class163-0.7.1.5-py3-none-any.whl.

File metadata

  • Download URL: class163-0.7.1.5-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for class163-0.7.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 684e3753454d5013aa8d43ab21719ae813a91685f0589c0caeacc7b14f02cb50
MD5 f07a1ac490e13f8b9057cdd1a03e6bcc
BLAKE2b-256 a1bcfc647c3f3afb8aa6442b20c75afd3057e1f91ed923cd52e87aac0398d357

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