pub struct ApiClient { /* private fields */ }Expand description
API 客户端
Implementations§
Source§impl ApiClient
impl ApiClient
Sourcepub async fn check_music(&self, query: &Query) -> Result<ApiResponse>
pub async fn check_music(&self, query: &Query) -> Result<ApiResponse>
检查音乐是否可用 对应 /check/music
Source§impl ApiClient
impl ApiClient
Sourcepub async fn like(&self, query: &Query) -> Result<ApiResponse>
pub async fn like(&self, query: &Query) -> Result<ApiResponse>
喜欢/取消喜欢音乐 对应 /like
Source§impl ApiClient
impl ApiClient
Sourcepub async fn likelist(&self, query: &Query) -> Result<ApiResponse>
pub async fn likelist(&self, query: &Query) -> Result<ApiResponse>
喜欢音乐列表 对应 /likelist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn lyric(&self, query: &Query) -> Result<ApiResponse>
pub async fn lyric(&self, query: &Query) -> Result<ApiResponse>
获取歌词 对应 /lyric
Source§impl ApiClient
impl ApiClient
Sourcepub async fn lyric_new(&self, query: &Query) -> Result<ApiResponse>
pub async fn lyric_new(&self, query: &Query) -> Result<ApiResponse>
获取新版歌词(含逐字歌词) 对应 /lyric/new
Source§impl ApiClient
impl ApiClient
Sourcepub async fn scrobble(&self, query: &Query) -> Result<ApiResponse>
pub async fn scrobble(&self, query: &Query) -> Result<ApiResponse>
听歌打卡 对应 /scrobble
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_chorus(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_chorus(&self, query: &Query) -> Result<ApiResponse>
副歌时间 对应 /song/chorus
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_detail(&self, query: &Query) -> Result<ApiResponse>
歌曲详情 对应 /song/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_downlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_downlist(&self, query: &Query) -> Result<ApiResponse>
会员下载歌曲记录 对应 /song/downlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_download_url(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_download_url(&self, query: &Query) -> Result<ApiResponse>
歌曲下载链接 对应 /song/download/url
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_download_url_v1(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_download_url_v1(&self, query: &Query) -> Result<ApiResponse>
歌曲下载链接 v1 对应 /song/download/url/v1
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_dynamic_cover(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_dynamic_cover(&self, query: &Query) -> Result<ApiResponse>
歌曲动态封面 对应 /song/dynamic/cover
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_like(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_like(&self, query: &Query) -> Result<ApiResponse>
喜欢歌曲 对应 /song/like
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_like_check(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_like_check(&self, query: &Query) -> Result<ApiResponse>
歌曲是否喜爱 对应 /song/like/check
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_lyrics_mark(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_lyrics_mark(&self, query: &Query) -> Result<ApiResponse>
歌词摘录 - 歌词摘录信息 对应 /song/lyrics/mark
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_lyrics_mark_add(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_lyrics_mark_add(&self, query: &Query) -> Result<ApiResponse>
歌词摘录 - 添加/修改摘录歌词 对应 /song/lyrics/mark/add
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_lyrics_mark_del(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_lyrics_mark_del(&self, query: &Query) -> Result<ApiResponse>
歌词摘录 - 删除摘录歌词 对应 /song/lyrics/mark/del
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_lyrics_mark_user_page(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn song_lyrics_mark_user_page( &self, query: &Query, ) -> Result<ApiResponse>
歌词摘录 - 我的歌词本 对应 /song/lyrics/mark/user/page
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_monthdownlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_monthdownlist(&self, query: &Query) -> Result<ApiResponse>
会员本月下载歌曲记录 对应 /song/monthdownlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_music_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_music_detail(&self, query: &Query) -> Result<ApiResponse>
歌曲音质详情 对应 /song/music/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_order_update(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_order_update(&self, query: &Query) -> Result<ApiResponse>
更新歌曲顺序 对应 /song/order/update
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_purchased(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_purchased(&self, query: &Query) -> Result<ApiResponse>
已购单曲 对应 /song/purchased
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_red_count(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_red_count(&self, query: &Query) -> Result<ApiResponse>
歌曲红心数量 对应 /song/red/count
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_singledownlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_singledownlist(&self, query: &Query) -> Result<ApiResponse>
已购买单曲 对应 /song/singledownlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_url(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_url(&self, query: &Query) -> Result<ApiResponse>
歌曲播放链接 对应 /song/url
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_url_match(&self, _query: &Query) -> Result<ApiResponse>
pub async fn song_url_match(&self, _query: &Query) -> Result<ApiResponse>
网易云歌曲解灰 对应 /song/url/match
此功能依赖外部 unblockmusic-utils,Rust SDK 暂不支持。
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_url_ncmget(&self, _query: &Query) -> Result<ApiResponse>
pub async fn song_url_ncmget(&self, _query: &Query) -> Result<ApiResponse>
歌曲播放链接 (ncmget 占位接口,始终返回空数据) 对应 /song/url/ncmget
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_url_v1(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_url_v1(&self, query: &Query) -> Result<ApiResponse>
歌曲播放链接 对应 /song/url/v1
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_url_v1_302(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_url_v1_302(&self, query: &Query) -> Result<ApiResponse>
获取客户端歌曲下载链接 (302 重定向) 对应 /song/url/v1/302
先尝试 download/url/v1,若无 url 则 fallback 到 player/url/v1, 最终返回带有 redirectUrl 的 302 响应。
Source§impl ApiClient
impl ApiClient
Sourcepub async fn song_wiki_summary(&self, query: &Query) -> Result<ApiResponse>
pub async fn song_wiki_summary(&self, query: &Query) -> Result<ApiResponse>
音乐百科基础信息 对应 /song/wiki/summary
Source§impl ApiClient
impl ApiClient
Sourcepub async fn cloudsearch(&self, query: &Query) -> Result<ApiResponse>
pub async fn cloudsearch(&self, query: &Query) -> Result<ApiResponse>
搜索(云搜索) 对应 /cloudsearch
Source§impl ApiClient
impl ApiClient
Sourcepub async fn search(&self, query: &Query) -> Result<ApiResponse>
pub async fn search(&self, query: &Query) -> Result<ApiResponse>
搜索 对应 /search
Source§impl ApiClient
impl ApiClient
Sourcepub async fn search_default(&self, query: &Query) -> Result<ApiResponse>
pub async fn search_default(&self, query: &Query) -> Result<ApiResponse>
默认搜索关键词 对应 /search/default
Source§impl ApiClient
impl ApiClient
Sourcepub async fn search_hot(&self, query: &Query) -> Result<ApiResponse>
pub async fn search_hot(&self, query: &Query) -> Result<ApiResponse>
热门搜索 对应 /search/hot
Source§impl ApiClient
impl ApiClient
Sourcepub async fn search_hot_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn search_hot_detail(&self, query: &Query) -> Result<ApiResponse>
热搜列表 对应 /search/hot/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn search_match(&self, query: &Query) -> Result<ApiResponse>
pub async fn search_match(&self, query: &Query) -> Result<ApiResponse>
本地歌曲匹配音乐信息 对应 /search/match
Source§impl ApiClient
impl ApiClient
Sourcepub async fn search_multimatch(&self, query: &Query) -> Result<ApiResponse>
pub async fn search_multimatch(&self, query: &Query) -> Result<ApiResponse>
搜索多重匹配 对应 /search/multimatch
Source§impl ApiClient
impl ApiClient
Sourcepub async fn search_suggest(&self, query: &Query) -> Result<ApiResponse>
pub async fn search_suggest(&self, query: &Query) -> Result<ApiResponse>
搜索建议 对应 /search/suggest
Source§impl ApiClient
impl ApiClient
Sourcepub async fn search_suggest_pc(&self, query: &Query) -> Result<ApiResponse>
pub async fn search_suggest_pc(&self, query: &Query) -> Result<ApiResponse>
搜索建议PC端 对应 /search/suggest/pc
Source§impl ApiClient
impl ApiClient
Sourcepub async fn audio_match(&self, query: &Query) -> Result<ApiResponse>
pub async fn audio_match(&self, query: &Query) -> Result<ApiResponse>
听歌识曲 对应 /audio/match
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_category_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_category_list(&self, query: &Query) -> Result<ApiResponse>
歌单分类列表 对应 /playlist/catlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_catlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_catlist(&self, query: &Query) -> Result<ApiResponse>
歌单分类列表 对应 /playlist/catlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_cover_update(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_cover_update(&self, query: &Query) -> Result<ApiResponse>
歌单封面更新 对应 /playlist/cover/update
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_create(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_create(&self, query: &Query) -> Result<ApiResponse>
创建歌单 对应 /playlist/create
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_delete(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_delete(&self, query: &Query) -> Result<ApiResponse>
删除歌单 对应 /playlist/delete
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_desc_update(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_desc_update(&self, query: &Query) -> Result<ApiResponse>
更新歌单描述 对应 /playlist/desc/update
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_detail(&self, query: &Query) -> Result<ApiResponse>
歌单详情 对应 /playlist/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_detail_dynamic(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn playlist_detail_dynamic( &self, query: &Query, ) -> Result<ApiResponse>
歌单动态信息 对应 /playlist/detail/dynamic
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_detail_rcmd_get(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn playlist_detail_rcmd_get( &self, query: &Query, ) -> Result<ApiResponse>
相关歌单推荐 对应 /playlist/detail/rcmd/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_hot(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_hot(&self, query: &Query) -> Result<ApiResponse>
热门歌单标签 对应 /playlist/hot
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_import_name_task_create(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn playlist_import_name_task_create( &self, query: &Query, ) -> Result<ApiResponse>
歌单导入 - 元数据/文字/链接导入 对应 /playlist/import/name/task/create
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_import_task_status(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn playlist_import_task_status( &self, query: &Query, ) -> Result<ApiResponse>
歌单导入 - 任务状态 对应 /playlist/import/task/status
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_mylike(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_mylike(&self, query: &Query) -> Result<ApiResponse>
我喜欢的歌单 对应 /playlist/mylike
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_name_update(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_name_update(&self, query: &Query) -> Result<ApiResponse>
更新歌单名 对应 /playlist/name/update
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_order_update(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_order_update(&self, query: &Query) -> Result<ApiResponse>
歌单排序更新 对应 /playlist/order/update
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_privacy(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_privacy(&self, query: &Query) -> Result<ApiResponse>
公开隐私歌单 对应 /playlist/privacy
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_subscribe(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_subscribe(&self, query: &Query) -> Result<ApiResponse>
收藏/取消收藏歌单 对应 /playlist/subscribe
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_subscribers(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_subscribers(&self, query: &Query) -> Result<ApiResponse>
歌单收藏者 对应 /playlist/subscribers
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_track_add(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_track_add(&self, query: &Query) -> Result<ApiResponse>
添加歌曲到歌单 对应 /playlist/track/add
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_track_all(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_track_all(&self, query: &Query) -> Result<ApiResponse>
歌单所有歌曲(两步请求:先获取 trackIds,再获取歌曲详情) 对应 /playlist/track/all
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_track_delete(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_track_delete(&self, query: &Query) -> Result<ApiResponse>
从歌单中删除歌曲 对应 /playlist/track/delete
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_tracks(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_tracks(&self, query: &Query) -> Result<ApiResponse>
收藏/删除歌曲到歌单 对应 /playlist/tracks
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_update(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_update(&self, query: &Query) -> Result<ApiResponse>
编辑歌单(批量更新名称、描述、标签) 对应 /playlist/update
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_update_playcount(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn playlist_update_playcount( &self, query: &Query, ) -> Result<ApiResponse>
歌单打卡 对应 /playlist/update/playcount
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playlist_video_recent(&self, query: &Query) -> Result<ApiResponse>
pub async fn playlist_video_recent(&self, query: &Query) -> Result<ApiResponse>
最近播放的视频歌单 对应 /playlist/video/recent
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_playlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_playlist(&self, query: &Query) -> Result<ApiResponse>
用户歌单 对应 /user/playlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_album(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_album(&self, query: &Query) -> Result<ApiResponse>
歌手专辑 对应 /artist/album
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_desc(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_desc(&self, query: &Query) -> Result<ApiResponse>
歌手介绍 对应 /artist/desc
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_detail(&self, query: &Query) -> Result<ApiResponse>
歌手详情 对应 /artist/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_detail_dynamic(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_detail_dynamic(&self, query: &Query) -> Result<ApiResponse>
歌手动态信息 对应 /artist/detail/dynamic
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_fans(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_fans(&self, query: &Query) -> Result<ApiResponse>
歌手粉丝 对应 /artist/fans
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_follow_count(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_follow_count(&self, query: &Query) -> Result<ApiResponse>
歌手粉丝数量 对应 /artist/follow/count
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_list(&self, query: &Query) -> Result<ApiResponse>
歌手列表 对应 /artist/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_mv(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_mv(&self, query: &Query) -> Result<ApiResponse>
歌手 MV 对应 /artist/mv
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_new_mv(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_new_mv(&self, query: &Query) -> Result<ApiResponse>
关注歌手新 MV 对应 /artist/new/mv
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_new_song(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_new_song(&self, query: &Query) -> Result<ApiResponse>
关注歌手新歌 对应 /artist/new/song
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_songs(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_songs(&self, query: &Query) -> Result<ApiResponse>
歌手歌曲 对应 /artist/songs
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_sub(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_sub(&self, query: &Query) -> Result<ApiResponse>
收藏/取消收藏歌手 对应 /artist/sub
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_sublist(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_sublist(&self, query: &Query) -> Result<ApiResponse>
收藏的歌手列表 对应 /artist/sublist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_top_song(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_top_song(&self, query: &Query) -> Result<ApiResponse>
歌手热门歌曲 对应 /artist/top/song
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artist_video(&self, query: &Query) -> Result<ApiResponse>
pub async fn artist_video(&self, query: &Query) -> Result<ApiResponse>
歌手相关视频 对应 /artist/video
Source§impl ApiClient
impl ApiClient
Sourcepub async fn artists(&self, query: &Query) -> Result<ApiResponse>
pub async fn artists(&self, query: &Query) -> Result<ApiResponse>
歌手信息 对应 /artists
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album(&self, query: &Query) -> Result<ApiResponse>
pub async fn album(&self, query: &Query) -> Result<ApiResponse>
专辑详情 对应 /album
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_detail(&self, query: &Query) -> Result<ApiResponse>
数字专辑详情 对应 /album/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_detail_dynamic(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_detail_dynamic(&self, query: &Query) -> Result<ApiResponse>
专辑动态信息 对应 /album/detail/dynamic
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_list(&self, query: &Query) -> Result<ApiResponse>
数字专辑-新碟上架 对应 /album/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_list_style(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_list_style(&self, query: &Query) -> Result<ApiResponse>
数字专辑-语种风格馆 对应 /album/list/style
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_new(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_new(&self, query: &Query) -> Result<ApiResponse>
全部新碟 对应 /album/new
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_newest(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_newest(&self, query: &Query) -> Result<ApiResponse>
最新专辑 对应 /album/newest
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_privilege(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_privilege(&self, query: &Query) -> Result<ApiResponse>
获取专辑歌曲的音质 对应 /album/privilege
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_songsaleboard(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_songsaleboard(&self, query: &Query) -> Result<ApiResponse>
数字专辑&数字单曲-榜单 对应 /album/songsaleboard
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_sub(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_sub(&self, query: &Query) -> Result<ApiResponse>
收藏/取消收藏专辑 对应 /album/sub
Source§impl ApiClient
impl ApiClient
Sourcepub async fn album_sublist(&self, query: &Query) -> Result<ApiResponse>
pub async fn album_sublist(&self, query: &Query) -> Result<ApiResponse>
已收藏专辑列表 对应 /album/sublist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment(&self, query: &Query) -> Result<ApiResponse>
发送/删除/回复评论 对应 /comment t: 1=发送, 0=删除, 2=回复
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_album(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_album(&self, query: &Query) -> Result<ApiResponse>
专辑评论 对应 /comment/album
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_delete(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_delete(&self, query: &Query) -> Result<ApiResponse>
删除评论 对应 /comment/delete
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_dj(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_dj(&self, query: &Query) -> Result<ApiResponse>
电台评论 对应 /comment/dj
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_event(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_event(&self, query: &Query) -> Result<ApiResponse>
获取动态评论 对应 /comment/event
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_floor(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_floor(&self, query: &Query) -> Result<ApiResponse>
楼层评论 对应 /comment/floor
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_hot(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_hot(&self, query: &Query) -> Result<ApiResponse>
热门评论 对应 /comment/hot
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_hug_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_hug_list(&self, query: &Query) -> Result<ApiResponse>
评论抱一抱列表 对应 /comment/hug/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_info_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_info_list(&self, query: &Query) -> Result<ApiResponse>
评论统计数据 对应 /comment/info/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_like(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_like(&self, query: &Query) -> Result<ApiResponse>
评论点赞/取消点赞 对应 /comment/like
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_music(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_music(&self, query: &Query) -> Result<ApiResponse>
歌曲评论 对应 /comment/music
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_mv(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_mv(&self, query: &Query) -> Result<ApiResponse>
MV 评论 对应 /comment/mv
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_new(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_new(&self, query: &Query) -> Result<ApiResponse>
新版评论 对应 /comment/new
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_reply(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_reply(&self, query: &Query) -> Result<ApiResponse>
回复评论 对应 /comment/reply
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_playlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_playlist(&self, query: &Query) -> Result<ApiResponse>
歌单评论 对应 /comment/playlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn comment_video(&self, query: &Query) -> Result<ApiResponse>
pub async fn comment_video(&self, query: &Query) -> Result<ApiResponse>
视频评论 对应 /comment/video
Source§impl ApiClient
impl ApiClient
Sourcepub async fn history_recommend_songs(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn history_recommend_songs( &self, query: &Query, ) -> Result<ApiResponse>
历史推荐歌曲 对应 /history/recommend/songs
Source§impl ApiClient
impl ApiClient
Sourcepub async fn history_recommend_songs_detail(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn history_recommend_songs_detail( &self, query: &Query, ) -> Result<ApiResponse>
历史每日推荐歌曲详情 对应 /history/recommend/songs/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn personalized(&self, query: &Query) -> Result<ApiResponse>
pub async fn personalized(&self, query: &Query) -> Result<ApiResponse>
推荐歌单 对应 /personalized
Source§impl ApiClient
impl ApiClient
Sourcepub async fn personalized_djprogram(&self, query: &Query) -> Result<ApiResponse>
pub async fn personalized_djprogram(&self, query: &Query) -> Result<ApiResponse>
推荐电台 对应 /personalized/djprogram
Source§impl ApiClient
impl ApiClient
Sourcepub async fn personalized_mv(&self, query: &Query) -> Result<ApiResponse>
pub async fn personalized_mv(&self, query: &Query) -> Result<ApiResponse>
推荐 MV 对应 /personalized/mv
Source§impl ApiClient
impl ApiClient
Sourcepub async fn personalized_newsong(&self, query: &Query) -> Result<ApiResponse>
pub async fn personalized_newsong(&self, query: &Query) -> Result<ApiResponse>
推荐新歌 对应 /personalized/newsong
Source§impl ApiClient
impl ApiClient
Sourcepub async fn personalized_privatecontent(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn personalized_privatecontent( &self, query: &Query, ) -> Result<ApiResponse>
独家放送 对应 /personalized/privatecontent
Source§impl ApiClient
impl ApiClient
Sourcepub async fn personalized_privatecontent_list(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn personalized_privatecontent_list( &self, query: &Query, ) -> Result<ApiResponse>
独家放送列表 对应 /personalized/privatecontent/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn program_recommend(&self, query: &Query) -> Result<ApiResponse>
pub async fn program_recommend(&self, query: &Query) -> Result<ApiResponse>
推荐节目 对应 /program/recommend
Source§impl ApiClient
impl ApiClient
Sourcepub async fn recommend_resource(&self, query: &Query) -> Result<ApiResponse>
pub async fn recommend_resource(&self, query: &Query) -> Result<ApiResponse>
推荐歌单(需要登录) 对应 /recommend/resource
Source§impl ApiClient
impl ApiClient
Sourcepub async fn recommend_songs(&self, query: &Query) -> Result<ApiResponse>
pub async fn recommend_songs(&self, query: &Query) -> Result<ApiResponse>
每日推荐歌曲(需要登录) 对应 /recommend/songs
Source§impl ApiClient
impl ApiClient
Sourcepub async fn recommend_songs_dislike(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn recommend_songs_dislike( &self, query: &Query, ) -> Result<ApiResponse>
不喜欢推荐歌曲 对应 /recommend/songs/dislike
Source§impl ApiClient
impl ApiClient
Sourcepub async fn activate_init_profile(&self, query: &Query) -> Result<ApiResponse>
pub async fn activate_init_profile(&self, query: &Query) -> Result<ApiResponse>
初始化名字 对应 /activate/init/profile
Source§impl ApiClient
impl ApiClient
Sourcepub async fn login(&self, query: &Query) -> Result<ApiResponse>
pub async fn login(&self, query: &Query) -> Result<ApiResponse>
邮箱登录 对应 /login
注意: Node.js 版本会对密码做 MD5 处理,Rust 版本需要传入 md5_password 或预先 MD5 后的 password
Source§impl ApiClient
impl ApiClient
Sourcepub async fn login_cellphone(&self, query: &Query) -> Result<ApiResponse>
pub async fn login_cellphone(&self, query: &Query) -> Result<ApiResponse>
手机号登录 对应 /login/cellphone
Source§impl ApiClient
impl ApiClient
Sourcepub async fn login_qr_check(&self, query: &Query) -> Result<ApiResponse>
pub async fn login_qr_check(&self, query: &Query) -> Result<ApiResponse>
二维码检测扫码状态 对应 /login/qr/check
Source§impl ApiClient
impl ApiClient
Sourcepub async fn login_qr_create(&self, query: &Query) -> Result<ApiResponse>
pub async fn login_qr_create(&self, query: &Query) -> Result<ApiResponse>
二维码生成 对应 /login/qr/create
Source§impl ApiClient
impl ApiClient
Sourcepub async fn login_qr_key(&self, query: &Query) -> Result<ApiResponse>
pub async fn login_qr_key(&self, query: &Query) -> Result<ApiResponse>
二维码 key 生成 对应 /login/qr/key
Source§impl ApiClient
impl ApiClient
Sourcepub async fn login_refresh(&self, query: &Query) -> Result<ApiResponse>
pub async fn login_refresh(&self, query: &Query) -> Result<ApiResponse>
刷新登录 对应 /login/refresh
Source§impl ApiClient
impl ApiClient
Sourcepub async fn login_status(&self, query: &Query) -> Result<ApiResponse>
pub async fn login_status(&self, query: &Query) -> Result<ApiResponse>
登录状态 对应 /login/status
Source§impl ApiClient
impl ApiClient
Sourcepub async fn logout(&self, query: &Query) -> Result<ApiResponse>
pub async fn logout(&self, query: &Query) -> Result<ApiResponse>
退出登录 对应 /logout
Source§impl ApiClient
impl ApiClient
Sourcepub async fn register_anonimous(&self, query: &Query) -> Result<ApiResponse>
pub async fn register_anonimous(&self, query: &Query) -> Result<ApiResponse>
匿名注册 对应 /register/anonimous
Source§impl ApiClient
impl ApiClient
Sourcepub async fn register_cellphone(&self, query: &Query) -> Result<ApiResponse>
pub async fn register_cellphone(&self, query: &Query) -> Result<ApiResponse>
注册账号 对应 /register/cellphone
注意: Node.js 版本会对密码做 MD5 处理
Source§impl ApiClient
impl ApiClient
Sourcepub async fn captcha_sent(&self, query: &Query) -> Result<ApiResponse>
pub async fn captcha_sent(&self, query: &Query) -> Result<ApiResponse>
发送验证码 对应 /captcha/sent
Source§impl ApiClient
impl ApiClient
Sourcepub async fn captcha_verify(&self, query: &Query) -> Result<ApiResponse>
pub async fn captcha_verify(&self, query: &Query) -> Result<ApiResponse>
校验验证码 对应 /captcha/verify
Source§impl ApiClient
impl ApiClient
Sourcepub async fn cellphone_existence_check(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn cellphone_existence_check( &self, query: &Query, ) -> Result<ApiResponse>
检测手机号码是否已注册 对应 /cellphone/existence/check
Source§impl ApiClient
impl ApiClient
Sourcepub async fn nickname_check(&self, query: &Query) -> Result<ApiResponse>
pub async fn nickname_check(&self, query: &Query) -> Result<ApiResponse>
昵称是否重复 对应 /nickname/check
Source§impl ApiClient
impl ApiClient
Sourcepub async fn verify_get_qr(&self, query: &Query) -> Result<ApiResponse>
pub async fn verify_get_qr(&self, query: &Query) -> Result<ApiResponse>
获取验证二维码 对应 /verify/getQr
Source§impl ApiClient
impl ApiClient
Sourcepub async fn verify_qrcodestatus(&self, query: &Query) -> Result<ApiResponse>
pub async fn verify_qrcodestatus(&self, query: &Query) -> Result<ApiResponse>
验证二维码状态 对应 /verify/qrcodestatus
Source§impl ApiClient
impl ApiClient
Sourcepub async fn follow(&self, query: &Query) -> Result<ApiResponse>
pub async fn follow(&self, query: &Query) -> Result<ApiResponse>
关注/取消关注用户 对应 /follow
Source§impl ApiClient
impl ApiClient
Sourcepub async fn get_userids(&self, query: &Query) -> Result<ApiResponse>
pub async fn get_userids(&self, query: &Query) -> Result<ApiResponse>
根据昵称获取用户ID 对应 /get/userids
Source§impl ApiClient
impl ApiClient
Sourcepub async fn rebind(&self, query: &Query) -> Result<ApiResponse>
pub async fn rebind(&self, query: &Query) -> Result<ApiResponse>
更换手机 对应 /rebind
Source§impl ApiClient
impl ApiClient
Sourcepub async fn setting(&self, query: &Query) -> Result<ApiResponse>
pub async fn setting(&self, query: &Query) -> Result<ApiResponse>
设置 对应 /setting
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_account(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_account(&self, query: &Query) -> Result<ApiResponse>
用户账号信息 对应 /user/account
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_audio(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_audio(&self, query: &Query) -> Result<ApiResponse>
用户创建的电台 对应 /user/audio
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_binding(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_binding(&self, query: &Query) -> Result<ApiResponse>
用户绑定信息 对应 /user/bindling
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_bindingcellphone(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_bindingcellphone(&self, query: &Query) -> Result<ApiResponse>
绑定手机号码 对应 /user/bindingcellphone
注意: Node.js 版本会对密码做 MD5 处理,Rust 版本需要传入预先 MD5 后的 password
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_cloud(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_cloud(&self, query: &Query) -> Result<ApiResponse>
用户云盘数据 对应 /user/cloud
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_cloud_del(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_cloud_del(&self, query: &Query) -> Result<ApiResponse>
用户云盘歌曲删除 对应 /user/cloud/del
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_cloud_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_cloud_detail(&self, query: &Query) -> Result<ApiResponse>
用户云盘歌曲详情 对应 /user/cloud/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_comment_history(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_comment_history(&self, query: &Query) -> Result<ApiResponse>
用户评论历史 对应 /user/comment/history
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_detail(&self, query: &Query) -> Result<ApiResponse>
用户详情 对应 /user/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_detail_new(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_detail_new(&self, query: &Query) -> Result<ApiResponse>
用户详情(新版) 对应 /user/detail/new
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_dj(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_dj(&self, query: &Query) -> Result<ApiResponse>
用户电台节目 对应 /user/dj
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_event(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_event(&self, query: &Query) -> Result<ApiResponse>
用户动态 对应 /user/event
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_follow_mixed(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_follow_mixed(&self, query: &Query) -> Result<ApiResponse>
当前账号关注的用户/歌手 对应 /user/follow/mixed
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_followeds(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_followeds(&self, query: &Query) -> Result<ApiResponse>
用户粉丝列表 对应 /user/followeds
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_follows(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_follows(&self, query: &Query) -> Result<ApiResponse>
用户关注列表 对应 /user/follows
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_level(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_level(&self, query: &Query) -> Result<ApiResponse>
用户等级信息 对应 /user/level
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_medal(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_medal(&self, query: &Query) -> Result<ApiResponse>
用户徽章 对应 /user/medal
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_mutualfollow_get(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_mutualfollow_get(&self, query: &Query) -> Result<ApiResponse>
用户是否互相关注 对应 /user/mutualfollow/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_playlist_collect(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_playlist_collect(&self, query: &Query) -> Result<ApiResponse>
获取用户的收藏歌单列表 对应 /user/playlist/collect
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_playlist_create(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_playlist_create(&self, query: &Query) -> Result<ApiResponse>
获取用户的创建歌单列表 对应 /user/playlist/create
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_record(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_record(&self, query: &Query) -> Result<ApiResponse>
听歌排行 对应 /user/record
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_replacephone(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_replacephone(&self, query: &Query) -> Result<ApiResponse>
更换绑定手机 对应 /user/replacephone
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_subcount(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_subcount(&self, query: &Query) -> Result<ApiResponse>
用户订阅数 对应 /user/subcount
Source§impl ApiClient
impl ApiClient
Sourcepub async fn user_update(&self, query: &Query) -> Result<ApiResponse>
pub async fn user_update(&self, query: &Query) -> Result<ApiResponse>
更新用户资料 对应 /user/update
Source§impl ApiClient
impl ApiClient
Sourcepub async fn fm_trash(&self, query: &Query) -> Result<ApiResponse>
pub async fn fm_trash(&self, query: &Query) -> Result<ApiResponse>
FM 垃圾桶(不再播放) 对应 /fm/trash
Source§impl ApiClient
impl ApiClient
Sourcepub async fn personal_fm(&self, query: &Query) -> Result<ApiResponse>
pub async fn personal_fm(&self, query: &Query) -> Result<ApiResponse>
私人 FM 对应 /personal/fm
Source§impl ApiClient
impl ApiClient
Sourcepub async fn personal_fm_mode(&self, query: &Query) -> Result<ApiResponse>
pub async fn personal_fm_mode(&self, query: &Query) -> Result<ApiResponse>
私人 FM 模式 对应 /personal/fm/mode
Source§impl ApiClient
impl ApiClient
Sourcepub async fn daily_signin(&self, query: &Query) -> Result<ApiResponse>
pub async fn daily_signin(&self, query: &Query) -> Result<ApiResponse>
每日签到 对应 /daily/signin
Source§impl ApiClient
impl ApiClient
Sourcepub async fn sign_happy_info(&self, query: &Query) -> Result<ApiResponse>
pub async fn sign_happy_info(&self, query: &Query) -> Result<ApiResponse>
签到快乐信息 对应 /sign/happy/info
Source§impl ApiClient
impl ApiClient
Sourcepub async fn signin_progress(&self, query: &Query) -> Result<ApiResponse>
pub async fn signin_progress(&self, query: &Query) -> Result<ApiResponse>
签到进度 对应 /signin/progress
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mv_all(&self, query: &Query) -> Result<ApiResponse>
pub async fn mv_all(&self, query: &Query) -> Result<ApiResponse>
全部 MV 对应 /mv/all
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mv_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn mv_detail(&self, query: &Query) -> Result<ApiResponse>
MV 详情 对应 /mv/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mv_detail_info(&self, query: &Query) -> Result<ApiResponse>
pub async fn mv_detail_info(&self, query: &Query) -> Result<ApiResponse>
MV 点赞转发评论数数据 对应 /mv/detail/info
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mv_exclusive_rcmd(&self, query: &Query) -> Result<ApiResponse>
pub async fn mv_exclusive_rcmd(&self, query: &Query) -> Result<ApiResponse>
网易出品 对应 /mv/exclusive/rcmd
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mv_first(&self, query: &Query) -> Result<ApiResponse>
pub async fn mv_first(&self, query: &Query) -> Result<ApiResponse>
最新 MV 对应 /mv/first
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mv_sub(&self, query: &Query) -> Result<ApiResponse>
pub async fn mv_sub(&self, query: &Query) -> Result<ApiResponse>
收藏/取消收藏 MV 对应 /mv/sub
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mv_sublist(&self, query: &Query) -> Result<ApiResponse>
pub async fn mv_sublist(&self, query: &Query) -> Result<ApiResponse>
MV 收藏列表 对应 /mv/sublist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mv_url(&self, query: &Query) -> Result<ApiResponse>
pub async fn mv_url(&self, query: &Query) -> Result<ApiResponse>
MV 播放链接 对应 /mv/url
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_category_excludehot(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_category_excludehot(&self, query: &Query) -> Result<ApiResponse>
电台非热门类型 对应 /dj/category/excludehot
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_category_recommend(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_category_recommend(&self, query: &Query) -> Result<ApiResponse>
电台推荐类型 对应 /dj/category/recommend
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_catelist(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_catelist(&self, query: &Query) -> Result<ApiResponse>
电台分类列表 对应 /dj/catelist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_detail(&self, query: &Query) -> Result<ApiResponse>
电台详情 对应 /dj/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_difm_all_style_channel(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn dj_difm_all_style_channel( &self, query: &Query, ) -> Result<ApiResponse>
DIFM电台 - 分类 对应 /dj/difm/all/style/channel
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_difm_channel_subscribe(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn dj_difm_channel_subscribe( &self, query: &Query, ) -> Result<ApiResponse>
DIFM电台 - 收藏频道 对应 /dj/difm/channel/subscribe
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_difm_channel_unsubscribe(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn dj_difm_channel_unsubscribe( &self, query: &Query, ) -> Result<ApiResponse>
DIFM电台 - 取消收藏频道 对应 /dj/difm/channel/unsubscribe
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_difm_playing_tracks_list(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn dj_difm_playing_tracks_list( &self, query: &Query, ) -> Result<ApiResponse>
DIFM电台 - 播放列表 对应 /dj/difm/playing/tracks/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_difm_subscribe_channels_get(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn dj_difm_subscribe_channels_get( &self, query: &Query, ) -> Result<ApiResponse>
DIFM电台 - 收藏列表 对应 /dj/difm/subscribe/channels/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_hot(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_hot(&self, query: &Query) -> Result<ApiResponse>
热门电台 对应 /dj/hot
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_paygift(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_paygift(&self, query: &Query) -> Result<ApiResponse>
付费电台 对应 /dj/paygift
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_personalize_recommend(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn dj_personalize_recommend( &self, query: &Query, ) -> Result<ApiResponse>
电台个性推荐 对应 /dj/personalize/recommend
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_program(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_program(&self, query: &Query) -> Result<ApiResponse>
电台节目列表 对应 /dj/program
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_program_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_program_detail(&self, query: &Query) -> Result<ApiResponse>
电台节目详情 对应 /dj/program/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_program_toplist(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_program_toplist(&self, query: &Query) -> Result<ApiResponse>
电台节目榜 对应 /dj/program/toplist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_program_toplist_hours(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn dj_program_toplist_hours( &self, query: &Query, ) -> Result<ApiResponse>
电台24小时节目榜 对应 /dj/program/toplist/hours
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_radio_hot(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_radio_hot(&self, query: &Query) -> Result<ApiResponse>
类别热门电台 对应 /dj/radio/hot
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_radio_top(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_radio_top(&self, query: &Query) -> Result<ApiResponse>
电台排行榜获取 对应 /djRadio/top
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_recommend(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_recommend(&self, query: &Query) -> Result<ApiResponse>
电台推荐 对应 /dj/recommend
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_recommend_type(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_recommend_type(&self, query: &Query) -> Result<ApiResponse>
精选电台分类 对应 /dj/recommend/type
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_sub(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_sub(&self, query: &Query) -> Result<ApiResponse>
订阅/取消订阅电台 对应 /dj/sub
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_sublist(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_sublist(&self, query: &Query) -> Result<ApiResponse>
已订阅电台列表 对应 /dj/sublist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_subscriber(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_subscriber(&self, query: &Query) -> Result<ApiResponse>
电台订阅者列表 对应 /dj/subscriber
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_today_perfered(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_today_perfered(&self, query: &Query) -> Result<ApiResponse>
电台今日优选 对应 /dj/today/perfered
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_toplist(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_toplist(&self, query: &Query) -> Result<ApiResponse>
电台排行榜 对应 /dj/toplist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_toplist_hours(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_toplist_hours(&self, query: &Query) -> Result<ApiResponse>
电台24小时主播榜 对应 /dj/toplist/hours
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_toplist_newcomer(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_toplist_newcomer(&self, query: &Query) -> Result<ApiResponse>
电台新人榜 对应 /dj/toplist/newcomer
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_toplist_pay(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_toplist_pay(&self, query: &Query) -> Result<ApiResponse>
付费精品 对应 /dj/toplist/pay
Source§impl ApiClient
impl ApiClient
Sourcepub async fn dj_toplist_popular(&self, query: &Query) -> Result<ApiResponse>
pub async fn dj_toplist_popular(&self, query: &Query) -> Result<ApiResponse>
电台最热主播榜 对应 /dj/toplist/popular
Source§impl ApiClient
impl ApiClient
Sourcepub async fn simi_artist(&self, query: &Query) -> Result<ApiResponse>
pub async fn simi_artist(&self, query: &Query) -> Result<ApiResponse>
相似歌手 对应 /simi/artist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn simi_mv(&self, query: &Query) -> Result<ApiResponse>
pub async fn simi_mv(&self, query: &Query) -> Result<ApiResponse>
相似 MV 对应 /simi/mv
Source§impl ApiClient
impl ApiClient
Sourcepub async fn simi_playlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn simi_playlist(&self, query: &Query) -> Result<ApiResponse>
相似歌单 对应 /simi/playlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn simi_song(&self, query: &Query) -> Result<ApiResponse>
pub async fn simi_song(&self, query: &Query) -> Result<ApiResponse>
相似歌曲 对应 /simi/song
Source§impl ApiClient
impl ApiClient
Sourcepub async fn simi_user(&self, query: &Query) -> Result<ApiResponse>
pub async fn simi_user(&self, query: &Query) -> Result<ApiResponse>
相似用户 对应 /simi/user
Source§impl ApiClient
impl ApiClient
Sourcepub async fn top_album(&self, query: &Query) -> Result<ApiResponse>
pub async fn top_album(&self, query: &Query) -> Result<ApiResponse>
新碟上架 对应 /top/album
Source§impl ApiClient
impl ApiClient
Sourcepub async fn top_artists(&self, query: &Query) -> Result<ApiResponse>
pub async fn top_artists(&self, query: &Query) -> Result<ApiResponse>
热门歌手 对应 /top/artists
Source§impl ApiClient
impl ApiClient
Sourcepub async fn top_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn top_list(&self, query: &Query) -> Result<ApiResponse>
排行榜 对应 /top/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn top_mv(&self, query: &Query) -> Result<ApiResponse>
pub async fn top_mv(&self, query: &Query) -> Result<ApiResponse>
MV 排行榜 对应 /top/mv
Source§impl ApiClient
impl ApiClient
Sourcepub async fn top_playlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn top_playlist(&self, query: &Query) -> Result<ApiResponse>
歌单列表(网友精选碟) 对应 /top/playlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn top_playlist_highquality(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn top_playlist_highquality( &self, query: &Query, ) -> Result<ApiResponse>
精品歌单 对应 /top/playlist/highquality
Source§impl ApiClient
impl ApiClient
Sourcepub async fn top_song(&self, query: &Query) -> Result<ApiResponse>
pub async fn top_song(&self, query: &Query) -> Result<ApiResponse>
新歌速递 对应 /top/song
Source§impl ApiClient
impl ApiClient
Sourcepub async fn toplist(&self, query: &Query) -> Result<ApiResponse>
pub async fn toplist(&self, query: &Query) -> Result<ApiResponse>
排行榜列表 对应 /toplist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn toplist_artist(&self, query: &Query) -> Result<ApiResponse>
pub async fn toplist_artist(&self, query: &Query) -> Result<ApiResponse>
排行榜歌手 对应 /toplist/artist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn toplist_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn toplist_detail(&self, query: &Query) -> Result<ApiResponse>
排行榜详情 对应 /toplist/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn toplist_detail_v2(&self, query: &Query) -> Result<ApiResponse>
pub async fn toplist_detail_v2(&self, query: &Query) -> Result<ApiResponse>
所有榜单内容摘要v2 对应 /toplist/detail/v2
Source§impl ApiClient
impl ApiClient
Sourcepub async fn video_category_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn video_category_list(&self, query: &Query) -> Result<ApiResponse>
视频分类列表 对应 /video/category/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn video_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn video_detail(&self, query: &Query) -> Result<ApiResponse>
视频详情 对应 /video/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn video_detail_info(&self, query: &Query) -> Result<ApiResponse>
pub async fn video_detail_info(&self, query: &Query) -> Result<ApiResponse>
视频点赞转发评论数数据 对应 /video/detail/info
Source§impl ApiClient
impl ApiClient
Sourcepub async fn video_group(&self, query: &Query) -> Result<ApiResponse>
pub async fn video_group(&self, query: &Query) -> Result<ApiResponse>
视频标签/分组下的视频 对应 /video/group
Source§impl ApiClient
impl ApiClient
Sourcepub async fn video_group_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn video_group_list(&self, query: &Query) -> Result<ApiResponse>
视频分组列表 对应 /video/group/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn video_sub(&self, query: &Query) -> Result<ApiResponse>
pub async fn video_sub(&self, query: &Query) -> Result<ApiResponse>
收藏/取消收藏视频 对应 /video/sub
Source§impl ApiClient
impl ApiClient
Sourcepub async fn video_timeline_all(&self, query: &Query) -> Result<ApiResponse>
pub async fn video_timeline_all(&self, query: &Query) -> Result<ApiResponse>
全部视频列表 对应 /video/timeline/all
Source§impl ApiClient
impl ApiClient
Sourcepub async fn video_timeline_recommend(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn video_timeline_recommend( &self, query: &Query, ) -> Result<ApiResponse>
推荐视频 对应 /video/timeline/recommend
Source§impl ApiClient
impl ApiClient
Sourcepub async fn video_url(&self, query: &Query) -> Result<ApiResponse>
pub async fn video_url(&self, query: &Query) -> Result<ApiResponse>
视频播放链接 对应 /video/url
Source§impl ApiClient
impl ApiClient
Sourcepub async fn msg_comments(&self, query: &Query) -> Result<ApiResponse>
pub async fn msg_comments(&self, query: &Query) -> Result<ApiResponse>
评论 对应 /msg/comments
Source§impl ApiClient
impl ApiClient
Sourcepub async fn msg_forwards(&self, query: &Query) -> Result<ApiResponse>
pub async fn msg_forwards(&self, query: &Query) -> Result<ApiResponse>
@我 对应 /msg/forwards
Source§impl ApiClient
impl ApiClient
Sourcepub async fn msg_notices(&self, query: &Query) -> Result<ApiResponse>
pub async fn msg_notices(&self, query: &Query) -> Result<ApiResponse>
通知 对应 /msg/notices
Source§impl ApiClient
impl ApiClient
Sourcepub async fn msg_private(&self, query: &Query) -> Result<ApiResponse>
pub async fn msg_private(&self, query: &Query) -> Result<ApiResponse>
私信列表 对应 /msg/private
Source§impl ApiClient
impl ApiClient
Sourcepub async fn msg_private_history(&self, query: &Query) -> Result<ApiResponse>
pub async fn msg_private_history(&self, query: &Query) -> Result<ApiResponse>
私信历史 对应 /msg/private/history
Source§impl ApiClient
impl ApiClient
Sourcepub async fn msg_recentcontact(&self, query: &Query) -> Result<ApiResponse>
pub async fn msg_recentcontact(&self, query: &Query) -> Result<ApiResponse>
最近联系 对应 /msg/recentcontact
Source§impl ApiClient
impl ApiClient
Sourcepub async fn event(&self, query: &Query) -> Result<ApiResponse>
pub async fn event(&self, query: &Query) -> Result<ApiResponse>
获取动态 对应 /event
Source§impl ApiClient
impl ApiClient
Sourcepub async fn event_del(&self, query: &Query) -> Result<ApiResponse>
pub async fn event_del(&self, query: &Query) -> Result<ApiResponse>
删除动态 对应 /event/del
Source§impl ApiClient
impl ApiClient
Sourcepub async fn event_forward(&self, query: &Query) -> Result<ApiResponse>
pub async fn event_forward(&self, query: &Query) -> Result<ApiResponse>
转发动态 对应 /event/forward
Source§impl ApiClient
impl ApiClient
Sourcepub async fn send_album(&self, query: &Query) -> Result<ApiResponse>
pub async fn send_album(&self, query: &Query) -> Result<ApiResponse>
私信专辑 对应 /send/album
Source§impl ApiClient
impl ApiClient
Sourcepub async fn send_playlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn send_playlist(&self, query: &Query) -> Result<ApiResponse>
私信歌单 对应 /send/playlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn send_song(&self, query: &Query) -> Result<ApiResponse>
pub async fn send_song(&self, query: &Query) -> Result<ApiResponse>
私信歌曲 对应 /send/song
Source§impl ApiClient
impl ApiClient
Sourcepub async fn send_text(&self, query: &Query) -> Result<ApiResponse>
pub async fn send_text(&self, query: &Query) -> Result<ApiResponse>
私信 对应 /send/text
Source§impl ApiClient
impl ApiClient
Sourcepub async fn resource_like(&self, query: &Query) -> Result<ApiResponse>
pub async fn resource_like(&self, query: &Query) -> Result<ApiResponse>
点赞与取消点赞资源 对应 /resource/like
Source§impl ApiClient
impl ApiClient
Sourcepub async fn countries_code_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn countries_code_list(&self, query: &Query) -> Result<ApiResponse>
国家编码列表 对应 /countries/code/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn recent_listen_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn recent_listen_list(&self, query: &Query) -> Result<ApiResponse>
最近听歌列表 对应 /recent/listen/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn record_recent_album(&self, query: &Query) -> Result<ApiResponse>
pub async fn record_recent_album(&self, query: &Query) -> Result<ApiResponse>
最近播放-专辑 对应 /record/recent/album
Source§impl ApiClient
impl ApiClient
Sourcepub async fn record_recent_dj(&self, query: &Query) -> Result<ApiResponse>
pub async fn record_recent_dj(&self, query: &Query) -> Result<ApiResponse>
最近播放-电台 对应 /record/recent/dj
Source§impl ApiClient
impl ApiClient
Sourcepub async fn record_recent_playlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn record_recent_playlist(&self, query: &Query) -> Result<ApiResponse>
最近播放-歌单 对应 /record/recent/playlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn record_recent_song(&self, query: &Query) -> Result<ApiResponse>
pub async fn record_recent_song(&self, query: &Query) -> Result<ApiResponse>
最近播放-歌曲 对应 /record/recent/song
Source§impl ApiClient
impl ApiClient
Sourcepub async fn record_recent_video(&self, query: &Query) -> Result<ApiResponse>
pub async fn record_recent_video(&self, query: &Query) -> Result<ApiResponse>
最近播放-视频 对应 /record/recent/video
Source§impl ApiClient
impl ApiClient
Sourcepub async fn record_recent_voice(&self, query: &Query) -> Result<ApiResponse>
pub async fn record_recent_voice(&self, query: &Query) -> Result<ApiResponse>
最近播放-声音 对应 /record/recent/voice
Source§impl ApiClient
impl ApiClient
Sourcepub async fn hot_topic(&self, query: &Query) -> Result<ApiResponse>
pub async fn hot_topic(&self, query: &Query) -> Result<ApiResponse>
热门话题 对应 /hot/topic
Source§impl ApiClient
impl ApiClient
Sourcepub async fn topic_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn topic_detail(&self, query: &Query) -> Result<ApiResponse>
话题详情 对应 /topic/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn topic_detail_event_hot(&self, query: &Query) -> Result<ApiResponse>
pub async fn topic_detail_event_hot(&self, query: &Query) -> Result<ApiResponse>
话题详情热门动态 对应 /topic/detail/event/hot
Source§impl ApiClient
impl ApiClient
Sourcepub async fn topic_sublist(&self, query: &Query) -> Result<ApiResponse>
pub async fn topic_sublist(&self, query: &Query) -> Result<ApiResponse>
收藏的专栏 对应 /topic/sublist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn style_album(&self, query: &Query) -> Result<ApiResponse>
pub async fn style_album(&self, query: &Query) -> Result<ApiResponse>
曲风-专辑 对应 /style/album
Source§impl ApiClient
impl ApiClient
Sourcepub async fn style_artist(&self, query: &Query) -> Result<ApiResponse>
pub async fn style_artist(&self, query: &Query) -> Result<ApiResponse>
曲风-歌手 对应 /style/artist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn style_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn style_detail(&self, query: &Query) -> Result<ApiResponse>
曲风详情 对应 /style/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn style_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn style_list(&self, query: &Query) -> Result<ApiResponse>
曲风列表 对应 /style/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn style_playlist(&self, query: &Query) -> Result<ApiResponse>
pub async fn style_playlist(&self, query: &Query) -> Result<ApiResponse>
曲风-歌单 对应 /style/playlist
Source§impl ApiClient
impl ApiClient
Sourcepub async fn style_preference(&self, query: &Query) -> Result<ApiResponse>
pub async fn style_preference(&self, query: &Query) -> Result<ApiResponse>
曲风偏好 对应 /style/preference
Source§impl ApiClient
impl ApiClient
Sourcepub async fn style_song(&self, query: &Query) -> Result<ApiResponse>
pub async fn style_song(&self, query: &Query) -> Result<ApiResponse>
曲风-歌曲 对应 /style/song
Source§impl ApiClient
impl ApiClient
Sourcepub async fn digital_album_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn digital_album_detail(&self, query: &Query) -> Result<ApiResponse>
数字专辑详情 对应 /digitalAlbum/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn digital_album_ordering(&self, query: &Query) -> Result<ApiResponse>
pub async fn digital_album_ordering(&self, query: &Query) -> Result<ApiResponse>
购买数字专辑 对应 /digitalAlbum/ordering
Source§impl ApiClient
impl ApiClient
Sourcepub async fn digital_album_purchased(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn digital_album_purchased( &self, query: &Query, ) -> Result<ApiResponse>
我的数字专辑 对应 /digitalAlbum/purchased
Source§impl ApiClient
impl ApiClient
Sourcepub async fn digital_album_sales(&self, query: &Query) -> Result<ApiResponse>
pub async fn digital_album_sales(&self, query: &Query) -> Result<ApiResponse>
数字专辑销量 对应 /digitalAlbum/sales
Source§impl ApiClient
impl ApiClient
Sourcepub async fn sheet_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn sheet_list(&self, query: &Query) -> Result<ApiResponse>
乐谱列表 对应 /sheet/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn sheet_preview(&self, query: &Query) -> Result<ApiResponse>
pub async fn sheet_preview(&self, query: &Query) -> Result<ApiResponse>
乐谱预览 对应 /sheet/preview
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mlog_music_rcmd(&self, query: &Query) -> Result<ApiResponse>
pub async fn mlog_music_rcmd(&self, query: &Query) -> Result<ApiResponse>
歌曲相关视频 对应 /mlog/music/rcmd
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mlog_to_video(&self, query: &Query) -> Result<ApiResponse>
pub async fn mlog_to_video(&self, query: &Query) -> Result<ApiResponse>
将mlog id转为video id 对应 /mlog/to/video
Source§impl ApiClient
impl ApiClient
Sourcepub async fn mlog_url(&self, query: &Query) -> Result<ApiResponse>
pub async fn mlog_url(&self, query: &Query) -> Result<ApiResponse>
mlog链接 对应 /mlog/url
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listen_data_realtime_report(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn listen_data_realtime_report( &self, query: &Query, ) -> Result<ApiResponse>
听歌足迹 - 本周/本月收听时长 对应 /listen/data/realtime/report
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listen_data_report(&self, query: &Query) -> Result<ApiResponse>
pub async fn listen_data_report(&self, query: &Query) -> Result<ApiResponse>
听歌足迹 - 周/月/年收听报告 对应 /listen/data/report
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listen_data_today_song(&self, query: &Query) -> Result<ApiResponse>
pub async fn listen_data_today_song(&self, query: &Query) -> Result<ApiResponse>
听歌足迹 - 今日收听 对应 /listen/data/today/song
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listen_data_total(&self, query: &Query) -> Result<ApiResponse>
pub async fn listen_data_total(&self, query: &Query) -> Result<ApiResponse>
听歌足迹 - 总收听时长 对应 /listen/data/total
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listen_data_year_report(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn listen_data_year_report( &self, query: &Query, ) -> Result<ApiResponse>
听歌足迹 - 年度听歌足迹 对应 /listen/data/year/report
Source§impl ApiClient
impl ApiClient
Sourcepub async fn broadcast_category_region_get(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn broadcast_category_region_get( &self, query: &Query, ) -> Result<ApiResponse>
广播电台 - 分类/地区信息 对应 /broadcast/category/region/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn broadcast_channel_collect_list(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn broadcast_channel_collect_list( &self, query: &Query, ) -> Result<ApiResponse>
广播电台 - 我的收藏 对应 /broadcast/channel/collect/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn broadcast_channel_currentinfo(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn broadcast_channel_currentinfo( &self, query: &Query, ) -> Result<ApiResponse>
广播电台 - 电台信息 对应 /broadcast/channel/currentinfo
Source§impl ApiClient
impl ApiClient
Sourcepub async fn broadcast_channel_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn broadcast_channel_list(&self, query: &Query) -> Result<ApiResponse>
广播电台 - 全部电台 对应 /broadcast/channel/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn broadcast_sub(&self, query: &Query) -> Result<ApiResponse>
pub async fn broadcast_sub(&self, query: &Query) -> Result<ApiResponse>
广播电台 - 收藏/取消收藏电台 对应 /broadcast/sub
Source§impl ApiClient
impl ApiClient
Sourcepub async fn creator_authinfo_get(&self, query: &Query) -> Result<ApiResponse>
pub async fn creator_authinfo_get(&self, query: &Query) -> Result<ApiResponse>
获取达人用户信息 对应 /creator/authinfo/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn threshold_detail_get(&self, query: &Query) -> Result<ApiResponse>
pub async fn threshold_detail_get(&self, query: &Query) -> Result<ApiResponse>
获取达人达标信息 对应 /threshold/detail/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn summary_annual(&self, query: &Query) -> Result<ApiResponse>
pub async fn summary_annual(&self, query: &Query) -> Result<ApiResponse>
年度听歌报告2017-2023 对应 /summary/annual
Source§impl ApiClient
impl ApiClient
Sourcepub async fn musician_cloudbean(&self, query: &Query) -> Result<ApiResponse>
pub async fn musician_cloudbean(&self, query: &Query) -> Result<ApiResponse>
账号云豆数 对应 /musician/cloudbean
Source§impl ApiClient
impl ApiClient
Sourcepub async fn musician_cloudbean_obtain(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn musician_cloudbean_obtain( &self, query: &Query, ) -> Result<ApiResponse>
领取云豆 对应 /musician/cloudbean/obtain
Source§impl ApiClient
impl ApiClient
Sourcepub async fn musician_data_overview(&self, query: &Query) -> Result<ApiResponse>
pub async fn musician_data_overview(&self, query: &Query) -> Result<ApiResponse>
音乐人数据概况 对应 /musician/data/overview
Source§impl ApiClient
impl ApiClient
Sourcepub async fn musician_play_trend(&self, query: &Query) -> Result<ApiResponse>
pub async fn musician_play_trend(&self, query: &Query) -> Result<ApiResponse>
音乐人歌曲播放趋势 对应 /musician/play/trend
Source§impl ApiClient
impl ApiClient
Sourcepub async fn musician_sign(&self, query: &Query) -> Result<ApiResponse>
pub async fn musician_sign(&self, query: &Query) -> Result<ApiResponse>
音乐人签到 对应 /musician/sign
Source§impl ApiClient
impl ApiClient
Sourcepub async fn musician_tasks(&self, query: &Query) -> Result<ApiResponse>
pub async fn musician_tasks(&self, query: &Query) -> Result<ApiResponse>
获取音乐人任务 对应 /musician/tasks
Source§impl ApiClient
impl ApiClient
Sourcepub async fn musician_tasks_new(&self, query: &Query) -> Result<ApiResponse>
pub async fn musician_tasks_new(&self, query: &Query) -> Result<ApiResponse>
获取音乐人任务(新) 对应 /musician/tasks/new
Source§impl ApiClient
impl ApiClient
Sourcepub async fn musician_vip_tasks(&self, query: &Query) -> Result<ApiResponse>
pub async fn musician_vip_tasks(&self, query: &Query) -> Result<ApiResponse>
获取音乐人VIP任务 对应 /musician/vip/tasks
Source§impl ApiClient
impl ApiClient
Sourcepub async fn ugc_album_get(&self, query: &Query) -> Result<ApiResponse>
pub async fn ugc_album_get(&self, query: &Query) -> Result<ApiResponse>
专辑简要百科信息 对应 /ugc/album/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn ugc_artist_get(&self, query: &Query) -> Result<ApiResponse>
pub async fn ugc_artist_get(&self, query: &Query) -> Result<ApiResponse>
歌手简要百科信息 对应 /ugc/artist/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn ugc_artist_search(&self, query: &Query) -> Result<ApiResponse>
pub async fn ugc_artist_search(&self, query: &Query) -> Result<ApiResponse>
搜索歌手 对应 /ugc/artist/search
Source§impl ApiClient
impl ApiClient
Sourcepub async fn ugc_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn ugc_detail(&self, query: &Query) -> Result<ApiResponse>
用户贡献内容 对应 /ugc/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn ugc_mv_get(&self, query: &Query) -> Result<ApiResponse>
pub async fn ugc_mv_get(&self, query: &Query) -> Result<ApiResponse>
MV简要百科信息 对应 /ugc/mv/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn ugc_song_get(&self, query: &Query) -> Result<ApiResponse>
pub async fn ugc_song_get(&self, query: &Query) -> Result<ApiResponse>
歌曲简要百科信息 对应 /ugc/song/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn ugc_user_devote(&self, query: &Query) -> Result<ApiResponse>
pub async fn ugc_user_devote(&self, query: &Query) -> Result<ApiResponse>
用户贡献条目、积分、云贝数量 对应 /ugc/user/devote
Source§impl ApiClient
impl ApiClient
Sourcepub async fn fanscenter_basicinfo_age_get(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn fanscenter_basicinfo_age_get( &self, query: &Query, ) -> Result<ApiResponse>
粉丝年龄比例 对应 /fanscenter/basicinfo/age/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn fanscenter_basicinfo_gender_get(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn fanscenter_basicinfo_gender_get( &self, query: &Query, ) -> Result<ApiResponse>
粉丝性别比例 对应 /fanscenter/basicinfo/gender/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn fanscenter_basicinfo_province_get(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn fanscenter_basicinfo_province_get( &self, query: &Query, ) -> Result<ApiResponse>
粉丝省份比例 对应 /fanscenter/basicinfo/province/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn fanscenter_overview_get(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn fanscenter_overview_get( &self, query: &Query, ) -> Result<ApiResponse>
粉丝数量 对应 /fanscenter/overview/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn fanscenter_trend_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn fanscenter_trend_list(&self, query: &Query) -> Result<ApiResponse>
粉丝来源 对应 /fanscenter/trend/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voice_delete(&self, query: &Query) -> Result<ApiResponse>
pub async fn voice_delete(&self, query: &Query) -> Result<ApiResponse>
删除声音 对应 /voice/delete
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voice_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn voice_detail(&self, query: &Query) -> Result<ApiResponse>
声音详情 对应 /voice/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voice_lyric(&self, query: &Query) -> Result<ApiResponse>
pub async fn voice_lyric(&self, query: &Query) -> Result<ApiResponse>
声音歌词 对应 /voice/lyric
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voicelist_detail(&self, query: &Query) -> Result<ApiResponse>
pub async fn voicelist_detail(&self, query: &Query) -> Result<ApiResponse>
声音列表详情 对应 /voicelist/detail
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voicelist_my_created(&self, query: &Query) -> Result<ApiResponse>
pub async fn voicelist_my_created(&self, query: &Query) -> Result<ApiResponse>
我创建的播客声音 对应 /voicelist/my/created
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voicelist_list(&self, query: &Query) -> Result<ApiResponse>
pub async fn voicelist_list(&self, query: &Query) -> Result<ApiResponse>
声音列表 对应 /voicelist/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voicelist_list_search(&self, query: &Query) -> Result<ApiResponse>
pub async fn voicelist_list_search(&self, query: &Query) -> Result<ApiResponse>
声音搜索 对应 /voicelist/list/search
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voicelist_search(&self, query: &Query) -> Result<ApiResponse>
pub async fn voicelist_search(&self, query: &Query) -> Result<ApiResponse>
声音列表搜索 对应 /voicelist/search
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voicelist_trans(&self, query: &Query) -> Result<ApiResponse>
pub async fn voicelist_trans(&self, query: &Query) -> Result<ApiResponse>
声音列表转移 对应 /voicelist/trans
Source§impl ApiClient
impl ApiClient
Sourcepub async fn aidj_content_rcmd(&self, query: &Query) -> Result<ApiResponse>
pub async fn aidj_content_rcmd(&self, query: &Query) -> Result<ApiResponse>
私人 DJ 对应 /aidj/content/rcmd
Source§impl ApiClient
impl ApiClient
Sourcepub async fn music_first_listen_info(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn music_first_listen_info( &self, query: &Query, ) -> Result<ApiResponse>
回忆坐标 对应 /music/first/listen/info
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listentogether_accept(&self, query: &Query) -> Result<ApiResponse>
pub async fn listentogether_accept(&self, query: &Query) -> Result<ApiResponse>
一起听 接受邀请 对应 /listentogether/accept
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listentogether_end(&self, query: &Query) -> Result<ApiResponse>
pub async fn listentogether_end(&self, query: &Query) -> Result<ApiResponse>
一起听 结束房间 对应 /listentogether/end
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listentogether_heatbeat(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn listentogether_heatbeat( &self, query: &Query, ) -> Result<ApiResponse>
一起听 发送心跳 对应 /listentogether/heatbeat
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listentogether_play_command(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn listentogether_play_command( &self, query: &Query, ) -> Result<ApiResponse>
一起听 发送播放状态 对应 /listentogether/play/command
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listentogether_room_check(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn listentogether_room_check( &self, query: &Query, ) -> Result<ApiResponse>
一起听 房间情况 对应 /listentogether/room/check
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listentogether_room_create(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn listentogether_room_create( &self, query: &Query, ) -> Result<ApiResponse>
一起听 创建房间 对应 /listentogether/room/create
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listentogether_status(&self, query: &Query) -> Result<ApiResponse>
pub async fn listentogether_status(&self, query: &Query) -> Result<ApiResponse>
一起听状态 对应 /listentogether/status
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listentogether_sync_list_command(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn listentogether_sync_list_command( &self, query: &Query, ) -> Result<ApiResponse>
一起听 更新播放列表 对应 /listentogether/sync/list/command
Source§impl ApiClient
impl ApiClient
Sourcepub async fn listentogether_sync_playlist_get(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn listentogether_sync_playlist_get( &self, query: &Query, ) -> Result<ApiResponse>
一起听 当前列表获取 对应 /listentogether/sync/playlist/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn vip_growthpoint(&self, query: &Query) -> Result<ApiResponse>
pub async fn vip_growthpoint(&self, query: &Query) -> Result<ApiResponse>
会员成长值 对应 /vip/growthpoint
Source§impl ApiClient
impl ApiClient
Sourcepub async fn vip_growthpoint_details(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn vip_growthpoint_details( &self, query: &Query, ) -> Result<ApiResponse>
会员成长值领取记录 对应 /vip/growthpoint/details
Source§impl ApiClient
impl ApiClient
Sourcepub async fn vip_growthpoint_get(&self, query: &Query) -> Result<ApiResponse>
pub async fn vip_growthpoint_get(&self, query: &Query) -> Result<ApiResponse>
领取会员成长值 对应 /vip/growthpoint/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn vip_info(&self, query: &Query) -> Result<ApiResponse>
pub async fn vip_info(&self, query: &Query) -> Result<ApiResponse>
获取 VIP 信息 对应 /vip/info
Source§impl ApiClient
impl ApiClient
Sourcepub async fn vip_info_v2(&self, query: &Query) -> Result<ApiResponse>
pub async fn vip_info_v2(&self, query: &Query) -> Result<ApiResponse>
获取 VIP 信息 v2 对应 /vip/info/v2
Source§impl ApiClient
impl ApiClient
Sourcepub async fn vip_sign(&self, query: &Query) -> Result<ApiResponse>
pub async fn vip_sign(&self, query: &Query) -> Result<ApiResponse>
黑胶乐签打卡 对应 /vip/sign
Source§impl ApiClient
impl ApiClient
Sourcepub async fn vip_sign_info(&self, query: &Query) -> Result<ApiResponse>
pub async fn vip_sign_info(&self, query: &Query) -> Result<ApiResponse>
黑胶乐签签到信息 对应 /vip/sign/info
Source§impl ApiClient
impl ApiClient
Sourcepub async fn vip_tasks(&self, query: &Query) -> Result<ApiResponse>
pub async fn vip_tasks(&self, query: &Query) -> Result<ApiResponse>
会员任务列表 对应 /vip/tasks
Source§impl ApiClient
impl ApiClient
Sourcepub async fn vip_timemachine(&self, query: &Query) -> Result<ApiResponse>
pub async fn vip_timemachine(&self, query: &Query) -> Result<ApiResponse>
黑胶时光机 对应 /vip/timemachine
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei(&self, query: &Query) -> Result<ApiResponse>
云贝数量 对应 /yunbei
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_expense(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei_expense(&self, query: &Query) -> Result<ApiResponse>
云贝支出记录 对应 /yunbei/expense
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_info(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei_info(&self, query: &Query) -> Result<ApiResponse>
云贝账户信息 对应 /yunbei/info
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_rcmd_song(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei_rcmd_song(&self, query: &Query) -> Result<ApiResponse>
云贝推歌 对应 /yunbei/rcmd/song
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_rcmd_song_history(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn yunbei_rcmd_song_history( &self, query: &Query, ) -> Result<ApiResponse>
云贝推歌历史记录 对应 /yunbei/rcmd/song/history
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_receipt(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei_receipt(&self, query: &Query) -> Result<ApiResponse>
云贝收入记录 对应 /yunbei/receipt
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_sign(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei_sign(&self, query: &Query) -> Result<ApiResponse>
云贝签到 对应 /yunbei/sign
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_task_finish(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei_task_finish(&self, query: &Query) -> Result<ApiResponse>
云贝完成任务 对应 /yunbei/task/finish
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_tasks(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei_tasks(&self, query: &Query) -> Result<ApiResponse>
云贝所有任务列表 对应 /yunbei/tasks
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_tasks_todo(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei_tasks_todo(&self, query: &Query) -> Result<ApiResponse>
云贝待完成任务列表 对应 /yunbei/tasks/todo
Source§impl ApiClient
impl ApiClient
Sourcepub async fn yunbei_today(&self, query: &Query) -> Result<ApiResponse>
pub async fn yunbei_today(&self, query: &Query) -> Result<ApiResponse>
云贝今日签到信息 对应 /yunbei/today
Source§impl ApiClient
impl ApiClient
Sourcepub async fn cloud_upload_check(&self, query: &Query) -> Result<ApiResponse>
pub async fn cloud_upload_check(&self, query: &Query) -> Result<ApiResponse>
云盘上传检查 对应 /cloud(上传检查步骤)
Sourcepub async fn cloud_upload_info(&self, query: &Query) -> Result<ApiResponse>
pub async fn cloud_upload_info(&self, query: &Query) -> Result<ApiResponse>
云盘上传信息提交 对应 /cloud(信息提交步骤)
Sourcepub async fn cloud_publish(&self, query: &Query) -> Result<ApiResponse>
pub async fn cloud_publish(&self, query: &Query) -> Result<ApiResponse>
云盘歌曲发布 对应 /cloud(发布步骤)
Source§impl ApiClient
impl ApiClient
Sourcepub async fn cloud_import_check(&self, query: &Query) -> Result<ApiResponse>
pub async fn cloud_import_check(&self, query: &Query) -> Result<ApiResponse>
云盘导入歌曲 - 检查 对应 /cloud/import(检查步骤)
Sourcepub async fn cloud_import(&self, query: &Query) -> Result<ApiResponse>
pub async fn cloud_import(&self, query: &Query) -> Result<ApiResponse>
云盘导入歌曲 - 导入 对应 /cloud/import(导入步骤)
Source§impl ApiClient
impl ApiClient
Sourcepub async fn cloud_lyric_get(&self, query: &Query) -> Result<ApiResponse>
pub async fn cloud_lyric_get(&self, query: &Query) -> Result<ApiResponse>
获取云盘歌词 对应 /cloud/lyric/get
Source§impl ApiClient
impl ApiClient
Sourcepub async fn cloud_match(&self, query: &Query) -> Result<ApiResponse>
pub async fn cloud_match(&self, query: &Query) -> Result<ApiResponse>
云盘歌曲匹配纠正 对应 /cloud/match
Source§impl ApiClient
impl ApiClient
Sourcepub async fn cloud_upload_complete_info(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn cloud_upload_complete_info( &self, query: &Query, ) -> Result<ApiResponse>
云盘上传完成 - 提交云盘信息 对应 /cloud/upload/complete(信息提交步骤)
Sourcepub async fn cloud_upload_complete_pub(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn cloud_upload_complete_pub( &self, query: &Query, ) -> Result<ApiResponse>
云盘上传完成 - 发布 对应 /cloud/upload/complete(发布步骤)
Source§impl ApiClient
impl ApiClient
Sourcepub async fn cloud_upload_token_check(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn cloud_upload_token_check( &self, query: &Query, ) -> Result<ApiResponse>
获取云盘上传 Token 及上传地址 对应 /cloud/upload/token
此方法执行上传检查和 token 分配两步。 完整的上传流程(包括 LBS 查询)需要调用方自行处理。
Sourcepub async fn cloud_upload_token_alloc(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn cloud_upload_token_alloc( &self, query: &Query, ) -> Result<ApiResponse>
分配 NOS 上传 Token 对应 /cloud/upload/token(token 分配步骤)
Source§impl ApiClient
impl ApiClient
Sourcepub fn eapi_decrypt(&self, query: &Query) -> Result<ApiResponse>
pub fn eapi_decrypt(&self, query: &Query) -> Result<ApiResponse>
EAPI 解密 对应 /eapi/decrypt
参数:
- hexString: 要解密的十六进制字符串
- isReq: 是否为请求解密(默认 true),设为 “false” 则为响应解密
Source§impl ApiClient
impl ApiClient
Sourcepub async fn api(&self, query: &Query) -> Result<ApiResponse>
pub async fn api(&self, query: &Query) -> Result<ApiResponse>
通用 API 代理接口,允许调用任意 API 路径 对应 /api
Source§impl ApiClient
impl ApiClient
Sourcepub async fn batch(&self, query: &Query) -> Result<ApiResponse>
pub async fn batch(&self, query: &Query) -> Result<ApiResponse>
批量请求接口 对应 /batch
Source§impl ApiClient
impl ApiClient
Sourcepub async fn calendar(&self, query: &Query) -> Result<ApiResponse>
pub async fn calendar(&self, query: &Query) -> Result<ApiResponse>
音乐日历 对应 /calendar
Source§impl ApiClient
impl ApiClient
Sourcepub async fn homepage_block_page(&self, query: &Query) -> Result<ApiResponse>
pub async fn homepage_block_page(&self, query: &Query) -> Result<ApiResponse>
首页内容 对应 /homepage/block/page
Source§impl ApiClient
impl ApiClient
Sourcepub async fn homepage_dragon_ball(&self, query: &Query) -> Result<ApiResponse>
pub async fn homepage_dragon_ball(&self, query: &Query) -> Result<ApiResponse>
首页-发现 dragon ball(需要登录或游客登录) 对应 /homepage/dragon/ball
Source§impl ApiClient
impl ApiClient
Sourcepub async fn hug_comment(&self, query: &Query) -> Result<ApiResponse>
pub async fn hug_comment(&self, query: &Query) -> Result<ApiResponse>
抱一抱评论 对应 /hug/comment
Source§impl ApiClient
impl ApiClient
Sourcepub async fn inner_version(&self) -> Result<ApiResponse>
pub async fn inner_version(&self) -> Result<ApiResponse>
内部版本号(本地返回,不发起网络请求) 对应 /inner/version
Source§impl ApiClient
impl ApiClient
Sourcepub async fn pl_count(&self, query: &Query) -> Result<ApiResponse>
pub async fn pl_count(&self, query: &Query) -> Result<ApiResponse>
消息计数 对应 /pl/count
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playmode_intelligence_list(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn playmode_intelligence_list( &self, query: &Query, ) -> Result<ApiResponse>
智能播放列表 对应 /playmode/intelligence/list
Source§impl ApiClient
impl ApiClient
Sourcepub async fn playmode_song_vector(&self, query: &Query) -> Result<ApiResponse>
pub async fn playmode_song_vector(&self, query: &Query) -> Result<ApiResponse>
云随机播放 对应 /playmode/song/vector
Source§impl ApiClient
impl ApiClient
Sourcepub async fn starpick_comments_summary(
&self,
query: &Query,
) -> Result<ApiResponse>
pub async fn starpick_comments_summary( &self, query: &Query, ) -> Result<ApiResponse>
云村星评馆 - 简要评论列表 对应 /starpick/comments/summary
Source§impl ApiClient
impl ApiClient
Sourcepub async fn weblog(&self, query: &Query) -> Result<ApiResponse>
pub async fn weblog(&self, query: &Query) -> Result<ApiResponse>
Weblog 上报 对应 /weblog
Source§impl ApiClient
impl ApiClient
Sourcepub async fn avatar_upload(
&self,
query: &Query,
img_data: Vec<u8>,
) -> Result<ApiResponse>
pub async fn avatar_upload( &self, query: &Query, img_data: Vec<u8>, ) -> Result<ApiResponse>
上传头像图片
query 参数:
img_data: 不通过 Query 传递,由专用参数传入img_name: 图片文件名img_mimetype: 图片 MIME 类型,默认 “image/jpeg”
此方法包含两步:
- 申请 NOS 上传 token
- 上传文件到 NOS
- 调用头像更新接口
Source§impl ApiClient
impl ApiClient
Sourcepub async fn voice_upload(
&self,
query: &Query,
file_name: &str,
file_data: Vec<u8>,
file_mimetype: Option<&str>,
) -> Result<ApiResponse>
pub async fn voice_upload( &self, query: &Query, file_name: &str, file_data: Vec<u8>, file_mimetype: Option<&str>, ) -> Result<ApiResponse>
上传音频文件
query 参数:
songName: 歌曲名(可选,默认从文件名推断)autoPublish: 是否自动发布 (1=是, 0=否)autoPublishText: 自动发布文案description: 描述voiceListId: 声音列表 IDcoverImgId: 封面图 IDcategoryId: 分类 IDsecondCategoryId: 二级分类 IDcomposedSongs: 关联歌曲 ID,逗号分隔privacy: 是否私密 (1=是, 0=否)publishTime: 发布时间orderNo: 排序号
file_name: 原始文件名(如 “song.mp3”)
file_data: 音频文件的完整二进制数据
file_mimetype: MIME 类型,如 “audio/mpeg”
Source§impl ApiClient
impl ApiClient
设置 cookie
Sourcepub fn set_anonymous_token(&mut self, token: String)
pub fn set_anonymous_token(&mut self, token: String)
设置匿名 token
Sourcepub fn set_device_id(&mut self, device_id: String)
pub fn set_device_id(&mut self, device_id: String)
设置自定义设备 ID
不同客户端实例可使用不同设备 ID,避免共享全局 ID 触发风控
Sourcepub async fn request(
&self,
uri: &str,
data: Value,
options: RequestOption,
) -> Result<ApiResponse>
pub async fn request( &self, uri: &str, data: Value, options: RequestOption, ) -> Result<ApiResponse>
发起 API 请求 - 核心方法