示例#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)));
 }