Comment 3 for bug 1048193

Revision history for this message
jmattock78 (justinmattock-deactivatedaccount) wrote :

such a pain too.. enjoy my weather forecast and coffee in the morning(now I use HTC weather for android instead).. looks like there is an API change..:
gps
http://developer.yahoo.com/maps/rest/V1/geocode.html
forecast
http://developer.yahoo.com/weather/

code looks to be in

bin/indicator-weather @@331

            # Get YAHOO WOEID by english name of location
            baseurl = 'http://where.yahooapis.com/geocode?[location]'
            params = {'location': displayed_city_name, 'appid': 'mOawLd4s', 'flags': 'J'}
            url = '?'.join((baseurl, urlencode(params)))
            log.debug("Location: Get Yahoo WOEID, url %s" % url)
            f = urllib2.urlopen(url)
            s=f.read()
            null = None

not sure if its a simple address change or a whole rewrite..
let me know!