Taking us up on our offer to pay $100 cash for sample Tropo apps we like, developer Jonathan Rudenberg sent us a very cool speech-driven weather forecast application written in Ruby (raw code available here).
What’s particularly nice is that he doesn’t require you to say the city and state for which you want the weather. Instead he uses your Caller ID to guess what city you are calling about and offer that to you immediately. You can also simply say any city/state combination or US ZIP Code to get the forecast for that region. When you are listening to the forecast you can also say the name of one of the other days to jump to the forecast for that particular day.
You can try it out at:
# Requires a Yahoo! App ID and WeatherBug API Key # http://developer.yahoo.com/maps/rest/V1/geocode.html # http://weather.weatherbug.com/desktop-weather/api.html
Because of its reliance on Caller ID, the current version of the code also requires that you call in over the PSTN. Calls in via Skype and SIP do not currently work. So if you upload the code to your Tropo account, you’ll want to be sure to assign it a phone number.
We thank Jonathan for sending along this Ruby sample app… and we’d remind people that our offer to pay for sample Tropo apps is still open.
- Jason Goecke: Writing a Ruby app for Tropo
- Over 140 sample Tropo applications and growing strong…
- Tropo Weather Translation App, Integrated with Yahoo & Bing
- Speech-Driven Phone Applications in the Cloud
- Get the Tropo sample applications – via git and Github