예제 #1
0
 public WeatherModel GetWeatherData(string key, GetBy getBy, string value, Days ForecastOfDays)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequest(MethodType.Forecast, key, getBy, value, ForecastOfDays)));
 }
예제 #2
0
 public WeatherModel GetWeatherData(string key, GetBy getBy, string value)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequest(MethodType.Current, key, getBy, value)));
 }
예제 #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)));
 }