From ca205ca59aa4c395bf6437bb1943ee9038687376 Mon Sep 17 00:00:00 2001
From: Brian W <bwongggg@gmail.com>
Date: Sat, 24 Sep 2016 13:12:43 -0400
Subject: [PATCH] update API endpoint

---
 weather.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/weather.py b/weather.py
index 9c2a79c..ba2afe7 100644
--- a/weather.py
+++ b/weather.py
@@ -52,7 +52,7 @@ def callback(self):
             lng = gLatLong[2]
 
         try:
-            baseurl = 'https://api.forecast.io/forecast/'
+            baseurl = 'https://api.darksky.net/'
             # remove unnecessary categories
             options = '?units=auto&exclude=minutely,hourly'
             r = urllib2.urlopen(baseurl + fApiKey + '/%s,%s' % (lat, lng) + options)
-- 
GitLab