Files
YandexMusic/YandexMusic.API/Requests/Track/YGetTrackSupplementBuilder.cs
FrigaT add7f08215
All checks were successful
Release / pack-and-publish (release) Successful in 32s
Добавлен вывод AuthStorage. Спрятаны внутренние api запросы
2026-04-19 17:41:30 +03:00

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 } };
}