Skip to content

Files

Latest commit

2d1a552 · Mar 9, 2025

History

History
1384 lines (792 loc) · 68.3 KB

NetEaseCloudMusicAPIApi.md

File metadata and controls

1384 lines (792 loc) · 68.3 KB

\NetEaseCloudMusicAPIApi

All URIs are relative to http://localhost

Method HTTP request Description
DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPost Post /api/v1/net_ease_cloud_music/app/decrypt_post_payload 解密POST请求中的16进制payload/Decrypt the 16-bit payload in the POST request
DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPost_0 Post /api/v1/net_ease_cloud_music/app/decrypt_post_payload 解密POST请求中的16进制payload/Decrypt the 16-bit payload in the POST request
EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPost Post /api/v1/net_ease_cloud_music/app/encrypt_post_payload 加密POST请求中的payload并且返回16进制/Encrypt the payload in the POST request and return 16 hexadecimal
EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPost_0 Post /api/v1/net_ease_cloud_music/app/encrypt_post_payload 加密POST请求中的payload并且返回16进制/Encrypt the payload in the POST request and return 16 hexadecimal
FetchArtistDetailApiV1NetEaseCloudMusicAppFetchArtistDetailGet Get /api/v1/net_ease_cloud_music/app/fetch_artist_detail 获取歌手信息/Fetch artist detail
FetchArtistDetailApiV1NetEaseCloudMusicAppFetchArtistDetailGet_0 Get /api/v1/net_ease_cloud_music/app/fetch_artist_detail 获取歌手信息/Fetch artist detail
FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGet Get /api/v1/net_ease_cloud_music/app/fetch_music_comment 获取歌曲评论/Fetch music comment
FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGet_0 Get /api/v1/net_ease_cloud_music/app/fetch_music_comment 获取歌曲评论/Fetch music comment
FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGet Get /api/v1/net_ease_cloud_music/app/fetch_music_log_video_url Mlog(音乐视频)播放地址/Mlog (music video) playback address
FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGet_0 Get /api/v1/net_ease_cloud_music/app/fetch_music_log_video_url Mlog(音乐视频)播放地址/Mlog (music video) playback address
FetchOneMusicLyricApiV1NetEaseCloudMusicAppFetchOneMusicLyricGet Get /api/v1/net_ease_cloud_music/app/fetch_one_music_lyric 获取单一歌曲歌词/Fetch one music lyric
FetchOneMusicLyricApiV1NetEaseCloudMusicAppFetchOneMusicLyricGet_0 Get /api/v1/net_ease_cloud_music/app/fetch_one_music_lyric 获取单一歌曲歌词/Fetch one music lyric
FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1Get Get /api/v1/net_ease_cloud_music/app/fetch_one_music_url_v1 获取单一歌曲播放地址V1(只能返回MP3格式,支持参数较少)/Fetch one music URL V1 (only MP3 format is supported, with fewer parameters)
FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1Get_0 Get /api/v1/net_ease_cloud_music/app/fetch_one_music_url_v1 获取单一歌曲播放地址V1(只能返回MP3格式,支持参数较少)/Fetch one music URL V1 (only MP3 format is supported, with fewer parameters)
FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2Get Get /api/v1/net_ease_cloud_music/app/fetch_one_music_url_v2 获取单一歌曲播放地址V2(支持更多参数)/Fetch one music URL V2 (support more parameters)
FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2Get_0 Get /api/v1/net_ease_cloud_music/app/fetch_one_music_url_v2 获取单一歌曲播放地址V2(支持更多参数)/Fetch one music URL V2 (support more parameters)
FetchOneMusicV1ApiV1NetEaseCloudMusicAppFetchOneMusicV1Get Get /api/v1/net_ease_cloud_music/app/fetch_one_music_v1 获取单一歌曲信息V1(信息更全)
FetchOneMusicV1ApiV1NetEaseCloudMusicAppFetchOneMusicV1Get_0 Get /api/v1/net_ease_cloud_music/app/fetch_one_music_v1 获取单一歌曲信息V1(信息更全)
FetchOneMusicV2ApiV1NetEaseCloudMusicAppFetchOneMusicV2Get Get /api/v1/net_ease_cloud_music/app/fetch_one_music_v2 获取单一歌曲信息V2(信息更少)
FetchOneMusicV2ApiV1NetEaseCloudMusicAppFetchOneMusicV2Get_0 Get /api/v1/net_ease_cloud_music/app/fetch_one_music_v2 获取单一歌曲信息V2(信息更少)
FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGet Get /api/v1/net_ease_cloud_music/app/fetch_user_event 获取用户动态/Fetch user event
FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGet_0 Get /api/v1/net_ease_cloud_music/app/fetch_user_event 获取用户动态/Fetch user event
FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGet Get /api/v1/net_ease_cloud_music/app/fetch_user_followers 获取用户粉丝列表/Fetch user followers
FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGet_0 Get /api/v1/net_ease_cloud_music/app/fetch_user_followers 获取用户粉丝列表/Fetch user followers
FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGet Get /api/v1/net_ease_cloud_music/app/fetch_user_follows 获取用户关注列表/Fetch user follows
FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGet_0 Get /api/v1/net_ease_cloud_music/app/fetch_user_follows 获取用户关注列表/Fetch user follows
FetchUserInfoApiV1NetEaseCloudMusicAppFetchUserInfoGet Get /api/v1/net_ease_cloud_music/app/fetch_user_info 获取用户信息/Get user information
FetchUserInfoApiV1NetEaseCloudMusicAppFetchUserInfoGet_0 Get /api/v1/net_ease_cloud_music/app/fetch_user_info 获取用户信息/Get user information
FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGet Get /api/v1/net_ease_cloud_music/app/fetch_user_playlist 获取用户歌单/Get user playlist
FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGet_0 Get /api/v1/net_ease_cloud_music/app/fetch_user_playlist 获取用户歌单/Get user playlist
SearchV1ApiV1NetEaseCloudMusicAppSearchV1Get Get /api/v1/net_ease_cloud_music/app/search_v1 搜索接口V1/Search interface V1
SearchV1ApiV1NetEaseCloudMusicAppSearchV1Get_0 Get /api/v1/net_ease_cloud_music/app/search_v1 搜索接口V1/Search interface V1

DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPost

string DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPost(ctx, optional)

解密POST请求中的16进制payload/Decrypt the 16-bit payload in the POST request

[中文] ### 用途: - 解密网易云音乐APP POST请求中的16进制payload。 ### 参数: - payload: 16进制payload。 ### 返回: - 解密后的payload # [English] ### Purpose: - Decrypt the 16-bit payload in the POST request of NetEase Cloud Music APP. ### Parameters: - payload: 16-bit payload. ### Returns: - Decrypted payload # [示例/Example] payload = "4AEEAB033C3F4068DBB74379B8C889D2187585FBBBC7CA1ADA7D10714AA139AE279A615DE7B87483A83A9091ED52D70B70DA02A7FE8A20317AA40F0FF461AC33DB77371E30F9C7F57783E800559AE08DD1E10EFC9CDC69D6815ADCDBF5A7D3006AA3B102FBE7296AB0DB9EA5C46AD12B"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPostOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPostOpts struct

Name Type Description Notes
body optional.String

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPost_0

string DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPost_0(ctx, optional)

解密POST请求中的16进制payload/Decrypt the 16-bit payload in the POST request

[中文] ### 用途: - 解密网易云音乐APP POST请求中的16进制payload。 ### 参数: - payload: 16进制payload。 ### 返回: - 解密后的payload # [English] ### Purpose: - Decrypt the 16-bit payload in the POST request of NetEase Cloud Music APP. ### Parameters: - payload: 16-bit payload. ### Returns: - Decrypted payload # [示例/Example] payload = "4AEEAB033C3F4068DBB74379B8C889D2187585FBBBC7CA1ADA7D10714AA139AE279A615DE7B87483A83A9091ED52D70B70DA02A7FE8A20317AA40F0FF461AC33DB77371E30F9C7F57783E800559AE08DD1E10EFC9CDC69D6815ADCDBF5A7D3006AA3B102FBE7296AB0DB9EA5C46AD12B"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPost_1Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a DecryptPostPayloadApiV1NetEaseCloudMusicAppDecryptPostPayloadPost_1Opts struct

Name Type Description Notes
body optional.String

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPost

string EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPost(ctx, uri, optional)

加密POST请求中的payload并且返回16进制/Encrypt the payload in the POST request and return 16 hexadecimal

[中文] ### 用途: - 加密POST请求中的payload并且返回16进制。 ### 参数: - payload: 需要加密的payload。 ### 返回: - 加密后的16进制payload # [English] ### Purpose: - Encrypt the payload in the POST request and return 16 hexadecimal. ### Parameters: - payload: Payload to be encrypted. ### Returns: - Encrypted 16 hexadecimal payload # [示例/Example] payload = {"id": 2135155051, "br": 192000}

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uri string 请求URI/Request URI
optional *EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPostOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPostOpts struct

Name Type Description Notes

body | optional.Map[string]interface{}| | addVariable | optional.Bool| 是否添加变量/Whether to add variables | [default to false]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPost_0

string EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPost_0(ctx, uri, optional)

加密POST请求中的payload并且返回16进制/Encrypt the payload in the POST request and return 16 hexadecimal

[中文] ### 用途: - 加密POST请求中的payload并且返回16进制。 ### 参数: - payload: 需要加密的payload。 ### 返回: - 加密后的16进制payload # [English] ### Purpose: - Encrypt the payload in the POST request and return 16 hexadecimal. ### Parameters: - payload: Payload to be encrypted. ### Returns: - Encrypted 16 hexadecimal payload # [示例/Example] payload = {"id": 2135155051, "br": 192000}

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uri string 请求URI/Request URI
optional *EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPost_2Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a EncryptPostPayloadApiV1NetEaseCloudMusicAppEncryptPostPayloadPost_2Opts struct

Name Type Description Notes

body | optional.Map[string]interface{}| | addVariable | optional.Bool| 是否添加变量/Whether to add variables | [default to false]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchArtistDetailApiV1NetEaseCloudMusicAppFetchArtistDetailGet

string FetchArtistDetailApiV1NetEaseCloudMusicAppFetchArtistDetailGet(ctx, artistId)

获取歌手信息/Fetch artist detail

[中文] ### 用途: - 获取歌手信息。 ### 参数: - artist_id: 歌手ID。 ### 返回: - 歌手信息 # [English] ### Purpose: - Fetch artist detail. ### Parameters: - artist_id: Artist ID. ### Returns: - Artist detail # [示例/Example] artist_id = "12213291"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
artistId string 歌手ID/Artist ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchArtistDetailApiV1NetEaseCloudMusicAppFetchArtistDetailGet_0

string FetchArtistDetailApiV1NetEaseCloudMusicAppFetchArtistDetailGet_0(ctx, artistId)

获取歌手信息/Fetch artist detail

[中文] ### 用途: - 获取歌手信息。 ### 参数: - artist_id: 歌手ID。 ### 返回: - 歌手信息 # [English] ### Purpose: - Fetch artist detail. ### Parameters: - artist_id: Artist ID. ### Returns: - Artist detail # [示例/Example] artist_id = "12213291"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
artistId string 歌手ID/Artist ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGet

string FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGet(ctx, resourceId, optional)

获取歌曲评论/Fetch music comment

[中文] ### 用途: - 获取歌曲评论。 ### 参数: - resource_id: 资源ID,可以是歌曲ID,专辑ID等。 - beforeTime: 时间戳,用于翻页,第一页不需要传递,第二页传递第一页返回的最后一条评论的时间戳,或者查看返回的Next_Page_beforeTime字段。 - limit: 每页数量,默认为30。 ### 返回: - 歌曲评论 # [English] ### Purpose: - Fetch music comment. ### Parameters: - resource_id: Resource ID, can be song ID, album ID, etc. - beforeTime: Time stamp, used for paging, no need to pass on the first page, pass the time stamp of the last comment returned on the first page on the second page, or check the Next_Page_beforeTime field returned. - limit: Number per page, default is 30. ### Returns: - Music comment # [示例/Example] resource_id = "2135155051" beforeTime = "0" limit = "30"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
resourceId string 资源ID/Resource ID
optional *FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGetOpts struct

Name Type Description Notes

beforeTime | optional.String| 时间戳,用于翻页,第一页不需要传递/Time stamp, used for paging, no need to pass on the first page | [default to ] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 30]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGet_0

string FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGet_0(ctx, resourceId, optional)

获取歌曲评论/Fetch music comment

[中文] ### 用途: - 获取歌曲评论。 ### 参数: - resource_id: 资源ID,可以是歌曲ID,专辑ID等。 - beforeTime: 时间戳,用于翻页,第一页不需要传递,第二页传递第一页返回的最后一条评论的时间戳,或者查看返回的Next_Page_beforeTime字段。 - limit: 每页数量,默认为30。 ### 返回: - 歌曲评论 # [English] ### Purpose: - Fetch music comment. ### Parameters: - resource_id: Resource ID, can be song ID, album ID, etc. - beforeTime: Time stamp, used for paging, no need to pass on the first page, pass the time stamp of the last comment returned on the first page on the second page, or check the Next_Page_beforeTime field returned. - limit: Number per page, default is 30. ### Returns: - Music comment # [示例/Example] resource_id = "2135155051" beforeTime = "0" limit = "30"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
resourceId string 资源ID/Resource ID
optional *FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGet_4Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchMusicCommentApiV1NetEaseCloudMusicAppFetchMusicCommentGet_4Opts struct

Name Type Description Notes

beforeTime | optional.String| 时间戳,用于翻页,第一页不需要传递/Time stamp, used for paging, no need to pass on the first page | [default to ] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 30]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGet

string FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGet(ctx, mlogId, optional)

Mlog(音乐视频)播放地址/Mlog (music video) playback address

[中文] ### 用途: - 获取Mlog(音乐视频)播放地址。 ### 参数: - mlogId: Mlog ID,可以在APP中点击分享按钮获取链接,链接中包含mlogId。 - resolution: 分辨率,默认为1080,保持默认即可。 ### 返回: - Mlog播放地址(有时候会有水印,根据视频源而定。) # [English] ### Purpose: - Fetch Mlog (music video) playback address. ### Parameters: - mlogId: Mlog ID, you can get the link by clicking the share button in the APP, the link contains mlogId. - resolution: Resolution, default is 1080, keep the default. ### Returns: - Mlog playback address (sometimes there will be a watermark, depending on the video source.) # [示例/Example] > 分享链接/Share link: https://fn.music.163.com/g/mlog/mlog-mobile/landing/mlog?id=a1qQQOQNVueO2g7&type=2 mlogId = "a1qQQOQNVueO2g7"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
mlogId string Mlog ID/Mlog ID
optional *FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGetOpts struct

Name Type Description Notes

resolution | optional.String| 分辨率/Resolution | [default to 1080]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGet_0

string FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGet_0(ctx, mlogId, optional)

Mlog(音乐视频)播放地址/Mlog (music video) playback address

[中文] ### 用途: - 获取Mlog(音乐视频)播放地址。 ### 参数: - mlogId: Mlog ID,可以在APP中点击分享按钮获取链接,链接中包含mlogId。 - resolution: 分辨率,默认为1080,保持默认即可。 ### 返回: - Mlog播放地址(有时候会有水印,根据视频源而定。) # [English] ### Purpose: - Fetch Mlog (music video) playback address. ### Parameters: - mlogId: Mlog ID, you can get the link by clicking the share button in the APP, the link contains mlogId. - resolution: Resolution, default is 1080, keep the default. ### Returns: - Mlog playback address (sometimes there will be a watermark, depending on the video source.) # [示例/Example] > 分享链接/Share link: https://fn.music.163.com/g/mlog/mlog-mobile/landing/mlog?id=a1qQQOQNVueO2g7&type=2 mlogId = "a1qQQOQNVueO2g7"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
mlogId string Mlog ID/Mlog ID
optional *FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGet_5Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchMusicLogVideoUrlApiV1NetEaseCloudMusicAppFetchMusicLogVideoUrlGet_5Opts struct

Name Type Description Notes

resolution | optional.String| 分辨率/Resolution | [default to 1080]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicLyricApiV1NetEaseCloudMusicAppFetchOneMusicLyricGet

string FetchOneMusicLyricApiV1NetEaseCloudMusicAppFetchOneMusicLyricGet(ctx, musicId)

获取单一歌曲歌词/Fetch one music lyric

[中文] ### 用途: - 获取单个音乐歌词。 ### 参数: - music_id: 音乐ID ### 返回: - 音乐歌词 # [English] ### Purpose: - Fetch single music lyric. ### Parameters: - music_id: Music ID ### Returns: - Music lyric # [示例/Example] music_id = "2135155051"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicLyricApiV1NetEaseCloudMusicAppFetchOneMusicLyricGet_0

string FetchOneMusicLyricApiV1NetEaseCloudMusicAppFetchOneMusicLyricGet_0(ctx, musicId)

获取单一歌曲歌词/Fetch one music lyric

[中文] ### 用途: - 获取单个音乐歌词。 ### 参数: - music_id: 音乐ID ### 返回: - 音乐歌词 # [English] ### Purpose: - Fetch single music lyric. ### Parameters: - music_id: Music ID ### Returns: - Music lyric # [示例/Example] music_id = "2135155051"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1Get

string FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1Get(ctx, musicId, optional)

获取单一歌曲播放地址V1(只能返回MP3格式,支持参数较少)/Fetch one music URL V1 (only MP3 format is supported, with fewer parameters)

[中文] ### 用途: - 获取单个音乐播放地址,此接口只能返回MP3格式的音频文件链接。 ### 参数: - music_id: 音乐ID - br: 音质码率,分四个等级,128000,192000,320000,999000 ### 返回: - 音乐播放地址 # [English] ### Purpose: - Fetch single music URL, this interface can only return MP3 format audio file link. ### Parameters: - music_id: Music ID - br: Bitrate, divided into four levels, 128000,192000,320000,999000 ### Returns: - Music URL # [示例/Example] music_id = "2135155051" br = "192000"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID
optional *FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1GetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1GetOpts struct

Name Type Description Notes

br | optional.String| 音质码率/Bitrate | [default to 192000]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1Get_0

string FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1Get_0(ctx, musicId, optional)

获取单一歌曲播放地址V1(只能返回MP3格式,支持参数较少)/Fetch one music URL V1 (only MP3 format is supported, with fewer parameters)

[中文] ### 用途: - 获取单个音乐播放地址,此接口只能返回MP3格式的音频文件链接。 ### 参数: - music_id: 音乐ID - br: 音质码率,分四个等级,128000,192000,320000,999000 ### 返回: - 音乐播放地址 # [English] ### Purpose: - Fetch single music URL, this interface can only return MP3 format audio file link. ### Parameters: - music_id: Music ID - br: Bitrate, divided into four levels, 128000,192000,320000,999000 ### Returns: - Music URL # [示例/Example] music_id = "2135155051" br = "192000"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID
optional *FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1Get_7Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchOneMusicUrlV1ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV1Get_7Opts struct

Name Type Description Notes

br | optional.String| 音质码率/Bitrate | [default to 192000]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2Get

string FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2Get(ctx, musicId, optional)

获取单一歌曲播放地址V2(支持更多参数)/Fetch one music URL V2 (support more parameters)

[中文] ### 用途: - 获取单个音乐播放地址,此接口支持更多参数。 ### 参数: - music_id: 音乐ID - level: 音质等级,分五个等级,标准,较高,极高,无损,hires,后两个等级不一定有支持的音源。 - 标准:standard - 较高:higher - 极高:exhigh - 无损:lossLess - hires:hires - encodeType: 编码类型,分六种类型。 - aac:aac - mp3:mp3(默认) - flac:flac - alac:alac - ape:ape - wav:wav ### 返回: - 音乐播放地址 # [English] ### Purpose: - Fetch single music URL, this interface supports more parameters. ### Parameters: - music_id: Music ID - level: Quality level, divided into five levels, standard, higher, exhigh, lossLess, hires, the last two levels may not have supported audio sources. - standard - higher - exhigh - lossLess - hires - encodeType: Encoding type, divided into six types. - aac - mp3 (default) - flac - alac - ape - wav ### Returns: - Music URL # [示例/Example] music_id = "2135155051" level = "exhigh" encodeType = "mp3"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID
optional *FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2GetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2GetOpts struct

Name Type Description Notes

level | optional.String| 音质等级/Quality level | [default to exhigh] encodeType | optional.String| 编码类型/Encoding type | [default to mp3]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2Get_0

string FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2Get_0(ctx, musicId, optional)

获取单一歌曲播放地址V2(支持更多参数)/Fetch one music URL V2 (support more parameters)

[中文] ### 用途: - 获取单个音乐播放地址,此接口支持更多参数。 ### 参数: - music_id: 音乐ID - level: 音质等级,分五个等级,标准,较高,极高,无损,hires,后两个等级不一定有支持的音源。 - 标准:standard - 较高:higher - 极高:exhigh - 无损:lossLess - hires:hires - encodeType: 编码类型,分六种类型。 - aac:aac - mp3:mp3(默认) - flac:flac - alac:alac - ape:ape - wav:wav ### 返回: - 音乐播放地址 # [English] ### Purpose: - Fetch single music URL, this interface supports more parameters. ### Parameters: - music_id: Music ID - level: Quality level, divided into five levels, standard, higher, exhigh, lossLess, hires, the last two levels may not have supported audio sources. - standard - higher - exhigh - lossLess - hires - encodeType: Encoding type, divided into six types. - aac - mp3 (default) - flac - alac - ape - wav ### Returns: - Music URL # [示例/Example] music_id = "2135155051" level = "exhigh" encodeType = "mp3"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID
optional *FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2Get_8Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchOneMusicUrlV2ApiV1NetEaseCloudMusicAppFetchOneMusicUrlV2Get_8Opts struct

Name Type Description Notes

level | optional.String| 音质等级/Quality level | [default to exhigh] encodeType | optional.String| 编码类型/Encoding type | [default to mp3]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicV1ApiV1NetEaseCloudMusicAppFetchOneMusicV1Get

string FetchOneMusicV1ApiV1NetEaseCloudMusicAppFetchOneMusicV1Get(ctx, musicId)

获取单一歌曲信息V1(信息更全)| Fetch one music information V1 (more information)

[中文] ### 用途: - 获取单个音乐数据,此接口不会返回音频文件链接,仅返回音乐信息。 ### 参数: - music_id: 音乐ID ### 返回: - 音乐数据 # [English] ### Purpose: - Fetch single music data, this interface will not return audio file link, only return music information. ### Parameters: - music_id: Music ID ### Returns: - Music data # [示例/Example] music_id = "2135155051"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicV1ApiV1NetEaseCloudMusicAppFetchOneMusicV1Get_0

string FetchOneMusicV1ApiV1NetEaseCloudMusicAppFetchOneMusicV1Get_0(ctx, musicId)

获取单一歌曲信息V1(信息更全)| Fetch one music information V1 (more information)

[中文] ### 用途: - 获取单个音乐数据,此接口不会返回音频文件链接,仅返回音乐信息。 ### 参数: - music_id: 音乐ID ### 返回: - 音乐数据 # [English] ### Purpose: - Fetch single music data, this interface will not return audio file link, only return music information. ### Parameters: - music_id: Music ID ### Returns: - Music data # [示例/Example] music_id = "2135155051"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicV2ApiV1NetEaseCloudMusicAppFetchOneMusicV2Get

string FetchOneMusicV2ApiV1NetEaseCloudMusicAppFetchOneMusicV2Get(ctx, musicId)

获取单一歌曲信息V2(信息更少)| Fetch one music information V2 (less information)

[中文] ### 用途: - 获取单个音乐数据,此接口不会返回音频文件链接,仅返回音乐信息。 ### 参数: - music_id: 音乐ID ### 返回: - 音乐数据 # [English] ### Purpose: - Fetch single music data, this interface will not return audio file link, only return music information. ### Parameters: - music_id: Music ID ### Returns: - Music data # [示例/Example] music_id = "2135155051"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchOneMusicV2ApiV1NetEaseCloudMusicAppFetchOneMusicV2Get_0

string FetchOneMusicV2ApiV1NetEaseCloudMusicAppFetchOneMusicV2Get_0(ctx, musicId)

获取单一歌曲信息V2(信息更少)| Fetch one music information V2 (less information)

[中文] ### 用途: - 获取单个音乐数据,此接口不会返回音频文件链接,仅返回音乐信息。 ### 参数: - music_id: 音乐ID ### 返回: - 音乐数据 # [English] ### Purpose: - Fetch single music data, this interface will not return audio file link, only return music information. ### Parameters: - music_id: Music ID ### Returns: - Music data # [示例/Example] music_id = "2135155051"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
musicId string 歌曲ID/Music ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGet

string FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGet(ctx, uid, optional)

获取用户动态/Fetch user event

[中文] ### 用途: - 获取用户动态。 ### 参数: - uid: 用户ID。 - _time: 时间戳,用于翻页,第一页不需要传递,第二页传递第一页返回的最后一条动态的时间戳,或者查看返回的Next_Page_time字段。 - limit: 每页数量,默认为10。 ### 返回: - 用户动态 # [English] ### Purpose: - Fetch user event. ### Parameters: - uid: User ID. - _time: Time stamp, used for paging, no need to pass on the first page, pass the time stamp of the last event returned on the first page on the second page, or check the Next_Page_time field returned. - limit: Number per page, default is 10. ### Returns: - User event # [示例/Example] uid = "254132915" _time = "-1" limit = "10"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID
optional *FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGetOpts struct

Name Type Description Notes

time | optional.String| 时间戳,用于翻页,第一页不需要传递/Time stamp, used for paging, no need to pass on the first page | [default to -1] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 10]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGet_0

string FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGet_0(ctx, uid, optional)

获取用户动态/Fetch user event

[中文] ### 用途: - 获取用户动态。 ### 参数: - uid: 用户ID。 - _time: 时间戳,用于翻页,第一页不需要传递,第二页传递第一页返回的最后一条动态的时间戳,或者查看返回的Next_Page_time字段。 - limit: 每页数量,默认为10。 ### 返回: - 用户动态 # [English] ### Purpose: - Fetch user event. ### Parameters: - uid: User ID. - _time: Time stamp, used for paging, no need to pass on the first page, pass the time stamp of the last event returned on the first page on the second page, or check the Next_Page_time field returned. - limit: Number per page, default is 10. ### Returns: - User event # [示例/Example] uid = "254132915" _time = "-1" limit = "10"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID
optional *FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGet_11Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserEventApiV1NetEaseCloudMusicAppFetchUserEventGet_11Opts struct

Name Type Description Notes

time | optional.String| 时间戳,用于翻页,第一页不需要传递/Time stamp, used for paging, no need to pass on the first page | [default to -1] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 10]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGet

string FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGet(ctx, uid, optional)

获取用户粉丝列表/Fetch user followers

[中文] ### 用途: - 获取用户粉丝列表。 ### 参数: - uid: 用户ID。 - lasttime: 时间戳,用于翻页,第一页不需要传递,第二页传递第一页返回的最后一条动态的时间戳,或者查看返回的Next_Page_lasttime字段。 - pagesize: 每页数量,保持默认即可。 ### 返回: - 用户粉丝列表 # [English] ### Purpose: - Fetch user followers. ### Parameters: - uid: User ID. - lasttime: Time stamp, used for paging, no need to pass on the first page, pass the time stamp of the last event returned on the first page on the second page, or check the Next_Page_lasttime field returned. - pagesize: Number per page, keep the default. ### Returns: - User followers list # [示例/Example] uid = "254132915" lasttime = "0" pagesize = "20"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID
optional *FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGetOpts struct

Name Type Description Notes

lasttime | optional.String| 时间戳,用于翻页,第一页不需要传递/Time stamp, used for paging, no need to pass on the first page | [default to 0] pagesize | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 20]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGet_0

string FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGet_0(ctx, uid, optional)

获取用户粉丝列表/Fetch user followers

[中文] ### 用途: - 获取用户粉丝列表。 ### 参数: - uid: 用户ID。 - lasttime: 时间戳,用于翻页,第一页不需要传递,第二页传递第一页返回的最后一条动态的时间戳,或者查看返回的Next_Page_lasttime字段。 - pagesize: 每页数量,保持默认即可。 ### 返回: - 用户粉丝列表 # [English] ### Purpose: - Fetch user followers. ### Parameters: - uid: User ID. - lasttime: Time stamp, used for paging, no need to pass on the first page, pass the time stamp of the last event returned on the first page on the second page, or check the Next_Page_lasttime field returned. - pagesize: Number per page, keep the default. ### Returns: - User followers list # [示例/Example] uid = "254132915" lasttime = "0" pagesize = "20"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID
optional *FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGet_12Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowersApiV1NetEaseCloudMusicAppFetchUserFollowersGet_12Opts struct

Name Type Description Notes

lasttime | optional.String| 时间戳,用于翻页,第一页不需要传递/Time stamp, used for paging, no need to pass on the first page | [default to 0] pagesize | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 20]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGet

string FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGet(ctx, uid, optional)

获取用户关注列表/Fetch user follows

[中文] ### 用途: - 获取用户关注列表。 ### 参数: - uid: 用户ID。 - offset: 偏移量,第一次搜索传递0,第二次传递20,第三次传递40,以此类推。 - limit: 每页数量,保持默认即可。 ### 返回: - 用户关注列表 # [English] ### Purpose: - Fetch user follows. ### Parameters: - uid: User ID. - offset: Offset, pass 0 for the first search, 20 for the second search, 40 for the third search, and so on. - limit: Number per page, keep the default. ### Returns: - User follows list # [示例/Example] uid = "254132915" offset = "0" limit = "20"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID
optional *FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGetOpts struct

Name Type Description Notes

offset | optional.String| 偏移量,保持默认即可/Offset, keep the default | [default to 0] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 20]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGet_0

string FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGet_0(ctx, uid, optional)

获取用户关注列表/Fetch user follows

[中文] ### 用途: - 获取用户关注列表。 ### 参数: - uid: 用户ID。 - offset: 偏移量,第一次搜索传递0,第二次传递20,第三次传递40,以此类推。 - limit: 每页数量,保持默认即可。 ### 返回: - 用户关注列表 # [English] ### Purpose: - Fetch user follows. ### Parameters: - uid: User ID. - offset: Offset, pass 0 for the first search, 20 for the second search, 40 for the third search, and so on. - limit: Number per page, keep the default. ### Returns: - User follows list # [示例/Example] uid = "254132915" offset = "0" limit = "20"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID
optional *FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGet_13Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserFollowsApiV1NetEaseCloudMusicAppFetchUserFollowsGet_13Opts struct

Name Type Description Notes

offset | optional.String| 偏移量,保持默认即可/Offset, keep the default | [default to 0] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 20]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserInfoApiV1NetEaseCloudMusicAppFetchUserInfoGet

string FetchUserInfoApiV1NetEaseCloudMusicAppFetchUserInfoGet(ctx, uid)

获取用户信息/Get user information

[中文] ### 用途: - 获取用户信息。 ### 参数: - uid: 用户ID。 ### 返回: - 用户信息 # [English] ### Purpose: - Get user information. ### Parameters: - uid: User ID. ### Returns: - User information # [示例/Example] uid = "254132915"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserInfoApiV1NetEaseCloudMusicAppFetchUserInfoGet_0

string FetchUserInfoApiV1NetEaseCloudMusicAppFetchUserInfoGet_0(ctx, uid)

获取用户信息/Get user information

[中文] ### 用途: - 获取用户信息。 ### 参数: - uid: 用户ID。 ### 返回: - 用户信息 # [English] ### Purpose: - Get user information. ### Parameters: - uid: User ID. ### Returns: - User information # [示例/Example] uid = "254132915"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGet

string FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGet(ctx, uid, optional)

获取用户歌单/Get user playlist

[中文] ### 用途: - 获取用户歌单。 ### 参数: - uid: 用户ID。 - offset: 偏移量,第一次搜索传递0,第二次传递20,第三次传递40,以此类推。 - limit: 每页数量,保持默认即可。 ### 返回: - 用户歌单 # [English] ### Purpose: - Get user playlist. ### Parameters: - uid: User ID. - offset: Offset, pass 0 for the first search, 20 for the second search, 40 for the third search, and so on. - limit: Number per page, keep the default. ### Returns: - User playlist # [示例/Example] uid = "254132915" offset = "0" limit = "20"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID
optional *FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGetOpts struct

Name Type Description Notes

offset | optional.String| 偏移量,保持默认即可/Offset, keep the default | [default to 0] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 20]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGet_0

string FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGet_0(ctx, uid, optional)

获取用户歌单/Get user playlist

[中文] ### 用途: - 获取用户歌单。 ### 参数: - uid: 用户ID。 - offset: 偏移量,第一次搜索传递0,第二次传递20,第三次传递40,以此类推。 - limit: 每页数量,保持默认即可。 ### 返回: - 用户歌单 # [English] ### Purpose: - Get user playlist. ### Parameters: - uid: User ID. - offset: Offset, pass 0 for the first search, 20 for the second search, 40 for the third search, and so on. - limit: Number per page, keep the default. ### Returns: - User playlist # [示例/Example] uid = "254132915" offset = "0" limit = "20"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
uid string 用户ID/User ID
optional *FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGet_15Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a FetchUserPlaylistApiV1NetEaseCloudMusicAppFetchUserPlaylistGet_15Opts struct

Name Type Description Notes

offset | optional.String| 偏移量,保持默认即可/Offset, keep the default | [default to 0] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 20]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

SearchV1ApiV1NetEaseCloudMusicAppSearchV1Get

string SearchV1ApiV1NetEaseCloudMusicAppSearchV1Get(ctx, keywords, optional)

搜索接口V1/Search interface V1

[中文] ### 用途: - 搜索接口V1。 ### 参数: - keywords: 关键词。 - offset: 偏移量,第一次搜索传递0,第二次传递20,第三次传递40,以此类推。 - limit: 每页数量,保持默认即可。 - _type: 搜索类型 搜索类型 (type): * 单曲搜索:\"type\":\"1\" * 歌手搜索:\"type\":\"100\" * 专辑搜索:\"type\":\"10\" * 歌单搜索:\"type\":\"1000\" * MV搜索:\"type\":\"1004\" * 主播电台搜索:\"type\":\"1009\" * 用户搜索:\"type\":\"1002\" ### 返回: - 搜索结果 # [English] ### Purpose: - Search interface V1. ### Parameters: - keywords: Keywords. - offset: Offset, pass 0 for the first search, 20 for the second search, 40 for the third search, and so on. - limit: Number per page, keep the default. - _type: Search type Search type (type): * Single search: \"type\":\"1\" * Singer search: \"type\":\"100\" * Album search: \"type\":\"10\" * Playlist search: \"type\":\"1000\" * MV search: \"type\":\"1004\" * Anchor radio search: \"type\":\"1009\" * User search: \"type\":\"1002\" ### Returns: - Search results # [示例/Example] keywords = "周杰伦" offset = "0" limit = "20" _type = "1"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keywords string 关键词/Keywords
optional *SearchV1ApiV1NetEaseCloudMusicAppSearchV1GetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SearchV1ApiV1NetEaseCloudMusicAppSearchV1GetOpts struct

Name Type Description Notes

offset | optional.String| 偏移量,保持默认即可/Offset, keep the default | [default to 0] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 20] type_ | optional.String| 搜索类型/Search type | [default to 1]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

SearchV1ApiV1NetEaseCloudMusicAppSearchV1Get_0

string SearchV1ApiV1NetEaseCloudMusicAppSearchV1Get_0(ctx, keywords, optional)

搜索接口V1/Search interface V1

[中文] ### 用途: - 搜索接口V1。 ### 参数: - keywords: 关键词。 - offset: 偏移量,第一次搜索传递0,第二次传递20,第三次传递40,以此类推。 - limit: 每页数量,保持默认即可。 - _type: 搜索类型 搜索类型 (type): * 单曲搜索:\"type\":\"1\" * 歌手搜索:\"type\":\"100\" * 专辑搜索:\"type\":\"10\" * 歌单搜索:\"type\":\"1000\" * MV搜索:\"type\":\"1004\" * 主播电台搜索:\"type\":\"1009\" * 用户搜索:\"type\":\"1002\" ### 返回: - 搜索结果 # [English] ### Purpose: - Search interface V1. ### Parameters: - keywords: Keywords. - offset: Offset, pass 0 for the first search, 20 for the second search, 40 for the third search, and so on. - limit: Number per page, keep the default. - _type: Search type Search type (type): * Single search: \"type\":\"1\" * Singer search: \"type\":\"100\" * Album search: \"type\":\"10\" * Playlist search: \"type\":\"1000\" * MV search: \"type\":\"1004\" * Anchor radio search: \"type\":\"1009\" * User search: \"type\":\"1002\" ### Returns: - Search results # [示例/Example] keywords = "周杰伦" offset = "0" limit = "20" _type = "1"

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
keywords string 关键词/Keywords
optional *SearchV1ApiV1NetEaseCloudMusicAppSearchV1Get_16Opts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SearchV1ApiV1NetEaseCloudMusicAppSearchV1Get_16Opts struct

Name Type Description Notes

offset | optional.String| 偏移量,保持默认即可/Offset, keep the default | [default to 0] limit | optional.String| 每页数量,保持默认即可/Number per page, keep the default | [default to 20] type_ | optional.String| 搜索类型/Search type | [default to 1]

Return type

string

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]