24 lines
731 B
C#
24 lines
731 B
C#
using System.Net;
|
|
|
|
using YandexMusic.API.Common;
|
|
using YandexMusic.API.Models.Common;
|
|
using YandexMusic.API.Models.Track;
|
|
using YandexMusic.API.Requests.Common;
|
|
using YandexMusic.API.Requests.Common.Attributes;
|
|
|
|
namespace YandexMusic.API.Requests.Track;
|
|
|
|
[YApiRequest(WebRequestMethods.Http.Get, "tracks/{trackId}/supplement")]
|
|
public class YGetTrackSupplementBuilder : YRequestBuilder<YResponse<YTrackSupplement>, string>
|
|
{
|
|
public YGetTrackSupplementBuilder(YandexMusicApi yandex, AuthStorage auth) : base(yandex, auth)
|
|
{
|
|
}
|
|
|
|
protected override Dictionary<string, string> GetSubstitutions(string trackId)
|
|
{
|
|
return new Dictionary<string, string> {
|
|
{ "trackId", trackId }
|
|
};
|
|
}
|
|
} |