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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: class163-0.7.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 3e807cd83175ac4f177c0d28b202458558ae8879681674362bec7eee2d014cc4
MD5 26b405f264dc561efc053f9c87d1de96
BLAKE2b-256 0b619412bd57f8791d4e414b80b9bb25b84f8518ab732ed58ac70b09bfa3a15f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: class163-0.7.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9eda3d3f24ffd8a66140a9bf742207f1c00ff0301b77a69ba00bdb412ef6722f
MD5 5ab557478af18fd292415737fc8cb0c8
BLAKE2b-256 bfa53fdabd02a967c8ff29418f10d30a89e8b11f4a089fe333b5dfc2bdc0d479

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