Files
YandexMusic/YandexMusic.API/API/YPinsAPI.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
400 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using YandexMusic.API.Models.Pins;
using YandexMusic.API.Requests.Pins;
namespace YandexMusic.API;
/// <summary>API для работы с закреплёнными объектами (пинами).</summary>
public class YPinsAPI : YCommonAPI
{
public YPinsAPI(YandexMusicApi api) : base(api) { }
public Task<YPins?> GetAsync()
=> new YGetPinsBuilder(Api).ExecuteAsync(null!);
}