mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-25 07:26:28 +00:00
31 lines
733 B
C#
31 lines
733 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SpotifyAPI.Web
|
|
{
|
|
public interface ISpotifyClient
|
|
{
|
|
IPaginator DefaultPaginator { get; }
|
|
|
|
IUserProfileClient UserProfile { get; }
|
|
|
|
IBrowseClient Browse { get; }
|
|
|
|
IShowsClient Shows { get; }
|
|
|
|
IPlaylistsClient Playlists { get; }
|
|
|
|
ISearchClient Search { get; }
|
|
|
|
IFollowClient Follow { get; }
|
|
|
|
ITracksClient Tracks { get; }
|
|
|
|
Task<List<T>> Paginate<T>(Paging<T> firstPage);
|
|
Task<List<T>> Paginate<T>(Func<Task<Paging<T>>> getFirstPage);
|
|
Task<List<T>> Paginate<T>(Paging<T> firstPage, IPaginator paginator);
|
|
Task<List<T>> Paginate<T>(Func<Task<Paging<T>>> getFirstPage, IPaginator paginator);
|
|
}
|
|
}
|