mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 06:56:27 +00:00
17 lines
409 B
C#
17 lines
409 B
C#
|
using System.Threading.Tasks;
|
||
|
using SpotifyAPI.Web.Http;
|
||
|
using URLs = SpotifyAPI.Web.SpotifyUrls;
|
||
|
|
||
|
namespace SpotifyAPI.Web
|
||
|
{
|
||
|
public class MarketsClient : APIClient, IMarketsClient
|
||
|
{
|
||
|
public MarketsClient(IAPIConnector apiConnector) : base(apiConnector) { }
|
||
|
|
||
|
public Task<AvailableMarketsResponse> AvailableMarkets()
|
||
|
{
|
||
|
return API.Get<AvailableMarketsResponse>(URLs.Markets());
|
||
|
}
|
||
|
}
|
||
|
}
|