Ejemplo n.º 1
0
 public WeatherModel GetWeatherData(string key, GetBy getBy, string value, Days ForecastOfDays)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequest(MethodType.Forecast, key, getBy, value, ForecastOfDays)));
 }
Ejemplo n.º 2
0
 public WeatherModel GetWeatherData(string key, GetBy getBy, string value)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequest(MethodType.Current, key, getBy, value)));
 }
Ejemplo n.º 3
0
 public Task <WeatherModel> GetWeatherData(string key, GetBy getBy, string value, DateTime date)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequest(MethodType.History, key, getBy, value, date)));
 }