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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: class163-0.7.0.tar.gz
  • Upload date:
  • Size: 26.3 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.0.tar.gz
Algorithm Hash digest
SHA256 cb40c400724c51d71fb7aeea90e160e56473cc0861e7ce29060dba60fe2839da
MD5 542756375d65c18255d2ea749059bca7
BLAKE2b-256 204a954e2c0313e3da61e6446c307a847e13f36bcf69301ffc9e0b289a3827b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: class163-0.7.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12747afedcde99247cbe1cf38d23f59c31673f1afe3659f9e56f3c53ad2c30d1
MD5 75879e7f4d885838afdeb99eb92ce476
BLAKE2b-256 c88836f1af8129a94d5d6af28347d6c07708003558903ddfb9ce8070dedbea1e

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