Exemplo 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)));
 }
Exemplo n.º 2
0
 public WeatherModel GetWeatherData(string key, GetBy getBy, string value)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequest(MethodType.Current, key, getBy, value)));
 }
Exemplo 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)));
 }