POSSA / freepbx-weather-by-zip

FreePBX module, reads back weather forcast from dtmf zip code input
4 stars 5 forks source link

Google weather is gone - possible alternatives #19

Open lgaetz opened 11 years ago

lgaetz commented 11 years ago

http://pbxinaflash.com/community/index.php?threads/new-weather-underground-worldwide-weather-reports.14066/#post-90571

http://nerdvittles.com/?p=2347

lgaetz commented 11 years ago

Yahoo: http://developer.yahoo.com/weather/

wardmundy commented 11 years ago

Thanks. The problem I had with this one was there was no easy way to decode the ID code for each city. In other words, you have to use their web site to decipher the WOEID, and only then can you plug it into the API. That wouldn't work for a generic weather app. Probably fine if you only care about the weather in a handful of cities. Anyway, I went the Weather Underground route and actually wrote it up on Nerd Vittles today. --wm

lgaetz commented 11 years ago

Thanks Ward, I had noticed the weird WOEID thing, and made a mental note to research how to use it. I will abandon that plan.

lgaetz commented 11 years ago

http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.bylocation%20where%20location%3D'Charleston%20SC'%20and%20unit%3D'c'%3B&diagnostics=true&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys

source

Can substitute US zip codes, CAN postal codes, three character airport codes, bare city name for non-ambiguous cities (i.e. istanbul), between the quotes after location.