示例#1
0
 /// <summary>
 /// Gets the temperature of a US location from http://forecast.weather.gov
 /// Doesn't work for worldwide locations
 /// </summary>
 /// <param name="latitude">latitude of location</param>
 /// <param name="longitude">longitude of location</param>
 /// <returns>temperature in fahrenheit</returns>
 public static int GetTodayTemperatureInFahrenheit(double latitude, double longitude)
 {
     return(manager.GetTodayTemperatureInFahrenheit(latitude, longitude));
 }