13 lines
517 B
C#
13 lines
517 B
C#
using System.Net;
|
|
using YandexMusic.API.Models.Playlist;
|
|
|
|
namespace YandexMusic.API.Requests.Playlist;
|
|
|
|
public class YGetPlaylistByUuidBuilder : YMusicRequestBuilder<YPlaylist?, string>
|
|
{
|
|
public YGetPlaylistByUuidBuilder(YandexMusicApi api) : base(api) { }
|
|
protected override string Method => WebRequestMethods.Http.Get;
|
|
protected override string PathTemplate => "playlist/{uuid}";
|
|
protected override Dictionary<string, string> GetSubstitutions(string uuid)
|
|
=> new() { { "uuid", uuid } };
|
|
} |