public async Task <ForecastResponse> GetForecast10DayAsync(QueryType queryType, QueryOptions options = null) { Service <ForecastResponse> forecast = new Service <ForecastResponse>(_apiKey, _baseUrl); return(await forecast.GetDataAsync(Feature.Forecast10Day, queryType, options)); }
public async Task <ConditionsResponse> GetConditionsAsync(QueryType queryType, QueryOptions options = null) { Service <ConditionsResponse> forecast = new Service <ConditionsResponse>(_apiKey, _baseUrl); return(await forecast.GetDataAsync(Feature.Conditions, queryType, options).ConfigureAwait(false)); }
public ForecastResponse GetForecast10Day(QueryType queryType, QueryOptions options = null) { Service <ForecastResponse> forecast = new Service <ForecastResponse>(_apiKey, _baseUrl); return(forecast.GetData(Feature.Forecast10Day, queryType, options)); }
public ConditionsResponse GetConditions(QueryType queryType, QueryOptions options = null) { Service <ConditionsResponse> forecast = new Service <ConditionsResponse>(_apiKey, _baseUrl); return(forecast.GetData(Feature.Conditions, queryType, options)); }
public AstronomyResponse GetAstronomy(QueryType queryType, QueryOptions options = null) { Service <AstronomyResponse> forecast = new Service <AstronomyResponse>(_apiKey, _baseUrl); return(forecast.GetData(Feature.Astronomy, queryType, options)); }
public AlmanacResponse GetAlmanac(QueryType queryType, QueryOptions options = null) { Service <AlmanacResponse> forecast = new Service <AlmanacResponse>(_apiKey, _baseUrl); return(forecast.GetData(Feature.Almanac, queryType, options)); }
public HourlyResponse GetHourly(QueryType queryType, QueryOptions options = null) { Service <HourlyResponse> forecast = new Service <HourlyResponse>(_apiKey, _baseUrl); return(forecast.GetData(Feature.Hourly, queryType, options)); }
public GeoLookupResponse GetGeoLookup(QueryType queryType, QueryOptions options = null) { Service <GeoLookupResponse> forecast = new Service <GeoLookupResponse>(_apiKey, _baseUrl); return(forecast.GetData(Feature.GeoLookup, queryType, options)); }