Spotify.NET/SpotifyAPI.Web/Clients/Interfaces/IPlaylistsClient.cs
2020-05-03 01:00:35 +02:00

17 lines
553 B
C#

using System.Threading.Tasks;
namespace SpotifyAPI.Web
{
public interface IPlaylistsClient
{
Task<SnapshotResponse> RemoveItems(string playlistId, PlaylistRemoveItemsRequest request);
Task<SnapshotResponse> AddItems(string playlistId, PlaylistAddItemsRequest request);
Task<Paging<PlaylistTrack<IPlaylistItem>>> GetItems(string playlistId);
Task<Paging<PlaylistTrack<IPlaylistItem>>> GetItems(string playlistId, PlaylistGetItemsRequest request);
Task<FullPlaylist> Create(string userId, PlaylistCreateRequest request);
}
}