13 lines
530 B
C#
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 } };
|
|
} |