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!
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..: developer. yahoo.com/ maps/rest/ V1/geocode. html developer. yahoo.com/ weather/
gps
http://
forecast
http://
code looks to be in
bin/indicator- weather @@331
# Get YAHOO WOEID by english name of location where.yahooapis .com/geocode? [location] ' city_name, 'appid': 'mOawLd4s', 'flags': 'J'}
log. debug(" Location: Get Yahoo WOEID, url %s" % url) urlopen( url)
s= f.read( )
baseurl = 'http://
params = {'location': displayed_
url = '?'.join((baseurl, urlencode(params)))
f = urllib2.
null = None
not sure if its a simple address change or a whole rewrite..
let me know!