13 lines
543 B
C#
13 lines
543 B
C#
using System.Net;
|
|
using YandexMusic.API.Models.Track;
|
|
|
|
namespace YandexMusic.API.Requests.Track;
|
|
|
|
internal class YGetTrackSupplementBuilder : YMusicRequestBuilder<YTrackSupplement?, string>
|
|
{
|
|
public YGetTrackSupplementBuilder(YandexMusicApi api) : base(api) { }
|
|
protected override string Method => WebRequestMethods.Http.Get;
|
|
protected override string PathTemplate => "tracks/{trackId}/supplement";
|
|
protected override Dictionary<string, string> GetSubstitutions(string trackId)
|
|
=> new() { { "trackId", trackId } };
|
|
} |