diff --git a/weather.py b/weather.py index 9c2a79ced263728143600dc65db57743031d0e2b..ba2afe7deb7f115aa8d43725d8dc42a37b5916f6 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)