using MediaBrowser.Model.Weather;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Weather
{
    /// 
    /// Interface IWeatherProvider
    /// 
    public interface IWeatherProvider
    {
        /// 
        /// Gets the weather info async.
        /// 
        /// The location.
        /// The cancellation token.
        /// Task{WeatherInfo}.
        Task GetWeatherInfoAsync(string location, CancellationToken cancellationToken);
    }
}