README.md in weather-api-1.0.1 vs README.md in weather-api-1.1.0

- old
+ new

@@ -6,25 +6,24 @@ [sudo] gem install weather-api ## Description -Weather-API provides an object-oriented interface to the Yahoo! Weather XML RSS feed service. +Weather-API provides an object-oriented interface to the Yahoo! Weather XML RSS +feed service. Details on the service can be found [here](http://developer.yahoo.com/weather). ## Usage A simple example: require 'rubygems' require 'weather-api' - client = Weather::API.new - # look up WOEID via http://weather.yahoo.com; enter location by city # name or zip and WOEID is at end of resulting page url. - response = client.lookup(9830) + response = Weather.lookup(9830) print <<EOT #{response.title} #{response.condition.temp} degrees #{response.condition.text}