import tcxparser
tcx = tcxparser.TCXParser('gps_logs/2017-06-15_Running.tcx')
print(tcx.duration)

@@ -10,16 +10,254 @@
 xparser%0A
+from darksky import forecast%0Afrom configparser import ConfigParser%0A%0A# Darksky weather API.%0A# Create config file manually%0Aparser = ConfigParser()%0Aparser.read('slowburn.config', encoding='utf-8')%0Adarksky_key = parser.get('darksky', 'key')%0A%0A
 tcx = tc
@@ -309,16 +309,17 @@
 g.tcx')%0A
+%0A
 print(tc
@@ -330,8 +330,72 @@
 ration)%0A
+boston = forecast(darksky_key, 42.3601, -71.0589)%0Aprint(boston)%0A

Add sample Darksky API call