Skip to content

Commit

Permalink
[feat] 新增音乐百科 API
Browse files Browse the repository at this point in the history
  • Loading branch information
kengwang committed Jun 25, 2023
1 parent 9ea9104 commit fe7e64e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions NeteaseCloudMusicApi/CloudMusicApiProviders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,14 @@ public static class CloudMusicApiProviders {
new[] { new ParameterInfo("id"), new ParameterInfo("privacy", ParameterType.Constant, 0) },
BuildOptions("eapi", null, null, "/api/playlist/update/privacy"));

/// <summary>
/// 音乐百科
/// </summary>
public static readonly CloudMusicApiProvider SongWikiSummary = new CloudMusicApiProvider(
"/song/wiki/summary", HttpMethod.Post, "https://interface3.music.163.com/eapi/music/wiki/home/song/get",
new[] { new ParameterInfo("songId"){KeyForwarding = "id"}},
BuildOptions("eapi", null, null, "/api/song/play/about/block/page"));

/// <summary>
/// 删除歌单
/// </summary>
Expand Down

0 comments on commit fe7e64e

Please sign in to comment.