Files
YandexMusic/YandexMusic.API/Requests/Artist/YGetArtistBuilder.cs
FrigaT 36e28ce3fe
All checks were successful
Release / pack-and-publish (release) Successful in 36s
Полностью переписанное api
2026-04-19 17:00:05 +03:00

13 lines
530 B
C#

using System.Net;
using YandexMusic.API.Models.Artist;
namespace YandexMusic.API.Requests.Artist;
public class YGetArtistBuilder : YMusicRequestBuilder<YArtistBriefInfo?, string>
{
public YGetArtistBuilder(YandexMusicApi api) : base(api) { }
protected override string Method => WebRequestMethods.Http.Get;
protected override string PathTemplate => "artists/{artistId}/brief-info";
protected override Dictionary<string, string> GetSubstitutions(string artistId)
=> new() { { "artistId", artistId } };
}