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