Example #1
0
 public String getPictureUrl(OpenWeatherMap.Root obj)
 {
     return("http://openweathermap.org/img/w/" + obj.weather.ElementAt(0).icon + ".png");
 }
Example #2
0
 public String getWeatherCondition(OpenWeatherMap.Root obj)
 {
     return(obj.weather.ElementAt(0).description.ToString());
 }
Example #3
0
 public String getTemperature(OpenWeatherMap.Root obj)
 {
     return(Math.Round(obj.main.temp - 273.15).ToString());
 }