Runkeeper - Display Weather for Activity

On a runkeeper activity page, downloads GPX file to get LAT + LON, then uses weather underground to do geolookup and weather history. To live within constraints of dev accounts saves data to cookie to reuse later. Requires an API KEY from weather underground which you can get info on and for free from http://www.wunderground.com/weather/api

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v3 2014-05-25 Version 3 improvements * Fixed a bug in calculating the weather month. * mapController is used to get lat/lon if available * Can now see weather for friend activities * No longer retrieves GPX file if map available. * GPX file is now used as a fallback * Weather information now stored in cookies. * Geolookup information now stored in cookies. * Geolookup can have precision, which is configurable at top of script.
  • v2 2014-05-24