using System.Net; using YandexMusic.API.Models.Radio; namespace YandexMusic.API.Requests.Radio; internal class YGetStationBuilder : YMusicRequestBuilder?, (string type, string tag)> { public YGetStationBuilder(YandexMusicApi api) : base(api) { } protected override string Method => WebRequestMethods.Http.Get; protected override string PathTemplate => "rotor/station/{type}:{tag}/info"; protected override Dictionary GetSubstitutions((string type, string tag) tuple) => new() { { "type", tuple.type }, { "tag", tuple.tag } }; }