Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- base_url = u'http://api.wunderground.com/'
- locate_url = urljoin(base_url, u'auto/wui/geo/GeoLookupXML/index.xml')
- station_url = urljoin(base_url, u'auto/wui/geo/WXCurrentObXML/index.xml')
- pws_url = urljoin(base_url, u'weatherstation/WXCurrentObXML.asp')
- forecast_url = urljoin(base_url, u'auto/wui/geo/ForecastXML/index.xml')
- pattern = re.compile(u'^\s*(fc|forecast|weather|ws|pws)(?:\s+(.*)$)?')
- require_addressing = True
- help = u'fc|forecast, ws|weather, pws [zipcode|city,state|city,country|pws] - look up weather forecast/conditions'
- error = u"Couldn't find that place, maybe a bomb dropped on it"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement