예제 #1
0
 public WeatherModel GetWeatherDataByAutoIP(string key)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequestByAutoIP(MethodType.Current, key)));
 }
예제 #2
0
 public WeatherModel GetWeatherDataByLatLong(string key, string latitude, string longitude)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequestByLatLong(MethodType.Current, key, latitude, longitude)));
 }
예제 #3
0
 public WeatherModel GetWeatherData(string key, GetBy getBy, string value)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequest(MethodType.Current, key, getBy, value)));
 }
예제 #4
0
 public WeatherModel GetWeatherDataByAutoIP(string key, Days ForecastOfDays)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequestByAutoIP(MethodType.Forecast, key, ForecastOfDays)));
 }
예제 #5
0
 public WeatherModel GetWeatherDataByLatLong(string key, string latitude, string longitude, Days ForecastOfDays)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequestByLatLong(MethodType.Forecast, key, latitude, longitude, ForecastOfDays)));
 }
예제 #6
0
 public WeatherModel GetWeatherData(string key, GetBy getBy, string value, Days ForecastOfDays)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequest(MethodType.Forecast, key, getBy, value, ForecastOfDays)));
 }