2020-05-01 19:05:28 +01:00
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
public interface IBrowseClient
|
|
|
|
{
|
|
|
|
Task<CategoriesResponse> GetCategories();
|
|
|
|
Task<CategoriesResponse> GetCategories(CategoriesRequest request);
|
|
|
|
|
|
|
|
Task<Category> GetCategory(string categoryId);
|
|
|
|
Task<Category> GetCategory(string categoryId, CategoryRequest request);
|
|
|
|
|
|
|
|
Task<CategoryPlaylistsResponse> GetCategoryPlaylists(string categoryId);
|
|
|
|
Task<CategoryPlaylistsResponse> GetCategoryPlaylists(string categoryId, CategoriesPlaylistsRequest request);
|
2020-05-02 12:04:26 +01:00
|
|
|
|
|
|
|
Task<RecommendationsResponse> GetRecommendations(RecommendationsRequest request);
|
2020-05-02 12:52:01 +01:00
|
|
|
Task<RecommendationGenresResponse> GetRecommendationGenres();
|
|
|
|
|
|
|
|
Task<NewReleasesResponse> GetNewReleases();
|
|
|
|
Task<NewReleasesResponse> GetNewReleases(NewReleasesRequest request);
|
2020-05-02 13:58:11 +01:00
|
|
|
|
|
|
|
Task<FeaturedPlaylistsResponse> GetFeaturedPlaylists();
|
|
|
|
Task<FeaturedPlaylistsResponse> GetFeaturedPlaylists(FeaturedPlaylistsRequest request);
|
2020-05-01 19:05:28 +01:00
|
|
|
}
|
|
|
|
}
|