예제 #1
0
 public WeatherModel GetWeatherDataByAutoIP(string key)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequestByAutoIP(MethodType.Current, key)));
 }
예제 #2
0
 public async Task <WeatherModel> GetWeatherDataByAutoIP(string key)
 {
     return(await GetData(APIURL + RequestBuilder.PrepareRequestByAutoIP(MethodType.Current, key)));
 }
예제 #3
0
 public WeatherModel GetWeatherDataByAutoIP(string key, Days ForecastOfDays)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequestByAutoIP(MethodType.Forecast, key, ForecastOfDays)));
 }
예제 #4
0
 public Task <WeatherModel> GetWeatherDataByAutoIP(string key, DateTime date)
 {
     return(GetData(APIURL + RequestBuilder.PrepareRequestByAutoIP(MethodType.History, key, date)));
 }