using System.Threading;
using System.Threading.Tasks;
namespace SpotifyAPI.Web
{
///
/// Endpoints for retrieving information about the user’s listening habits.
///
public interface IPersonalizationClient
{
///
/// Get the current user’s top tracks based on calculated affinity.
///
/// The cancellation-token to allow to cancel the request.
///
/// https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-users-top-artists-and-tracks
///
///
Task> GetTopTracks(CancellationToken cancel = default);
///
/// Get the current user’s top tracks based on calculated affinity.
///
/// The request-model which contains required and optional parameters.
/// The cancellation-token to allow to cancel the request.
///
/// https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-users-top-artists-and-tracks
///
///
Task> GetTopTracks(PersonalizationTopRequest request, CancellationToken cancel = default);
///
/// Get the current user’s top artists based on calculated affinity.
///
/// The cancellation-token to allow to cancel the request.
///
/// https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-users-top-artists-and-tracks
///
///
Task> GetTopArtists(CancellationToken cancel = default);
///
/// Get the current user’s top artists based on calculated affinity.
///
/// The request-model which contains required and optional parameters.
/// The cancellation-token to allow to cancel the request.
///
/// https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-users-top-artists-and-tracks
///
///
Task> GetTopArtists(PersonalizationTopRequest request, CancellationToken cancel = default);
}
}