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.4.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: class163-0.7.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 da01b7543e28e6c9bf040b95aee1d5e73225a049032b5dc1f5231c063cc72253
MD5 d0a4589ec612450277d13db84c744a59
BLAKE2b-256 18c53ed5f6440877cab318257225c412b0245806c6c7b720b4a97f6acd448253

See more details on using hashes here.

File details

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

File metadata

  • Download URL: class163-0.7.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0fe5499f562aee16b8abae17c46798055cb7803dcd94bdf68499055ab2ca4132
MD5 19a7be464256ad911b8ae8c19fe73e8a
BLAKE2b-256 72189be71ffd1d8b4639f34159d185fa2c17a8e09fb6e6e1518f3427499d5b47

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