2022-11-18 11:30:09 +00:00
|
|
|
using System.Threading;
|
2022-08-11 07:54:09 +01:00
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Markets Endpoints
|
|
|
|
/// </summary>
|
|
|
|
public interface IMarketsClient
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Get the list of markets where Spotify is available.
|
|
|
|
/// </summary>
|
2022-11-18 11:30:09 +00:00
|
|
|
/// <param name="cancel">The cancellation-token to allow to cancel the request.</param>
|
2022-08-11 07:54:09 +01:00
|
|
|
/// <remarks>
|
|
|
|
/// https://developer.spotify.com/documentation/web-api/reference/#/operations/get-available-markets
|
|
|
|
/// </remarks>
|
|
|
|
/// <returns></returns>
|
2022-11-18 11:30:09 +00:00
|
|
|
Task<AvailableMarketsResponse> AvailableMarkets(CancellationToken cancel = default);
|
2022-08-11 07:54:09 +01:00
|
|
|
}
|
|
|
|
}
|