Permalink
Browse files

update readme to remove google weather API references

  • Loading branch information...
attack committed Sep 29, 2012
1 parent 980e4ea commit 2f2409964c181cd19961a35eb1142bdcff32330f
Showing with 10 additions and 12 deletions.
  1. +10 −12 README.rdoc
View
@@ -16,15 +16,13 @@ this.
== version
Version 0.7.4 is the current release of this gem. The gem is available from
-gemcutter (barometer: http://gemcutter.org/gems/barometer).
-Older version are available through rubyforge (barometer) and github
-(attack-barometer).
+rubygems (barometer: http://rubygems.org/gems/barometer).
It is fully functional (for five weather service APIs).
== status
Currently this project has completed initial development and will work for a
-few weather services (wunderground, google, yahoo, weather.com, weather_bug).
+few weather services (wunderground, yahoo, weather.com, weather_bug).
Barometer is developed using only Ruby 1.9.2, but will probably on both Ruby 1.8.7 and 1.9.1.
Features to be added in the future:
@@ -34,7 +32,7 @@ Features to be added in the future:
= dependencies
-== Google API key [UPDATED]
+== Google API key
As stated on the Google Geocoding API website
(http://code.google.com/apis/maps/documentation/geocoding/), Google no longer
@@ -134,7 +132,6 @@ The available sources are:
Wunderground.com (:wunderground) [default]
Yahoo! Weather (:yahoo)
- Google Weather (:google)
Weather.com (:weather_dot_com) [requires key]
WeatherBug.com (:weather_bug) [requires key]
@@ -146,7 +143,7 @@ have its own config.
Weather services in parallel
- Barometer.config = { 1 => [:yahoo, :google] }
+ Barometer.config = { 1 => [:yahoo, :wunderground] }
Weather services in primary/failover
@@ -155,7 +152,7 @@ Weather services in primary/failover
Weather services, one with some configuration. In this case we are setting
a weight value, this weight is respected when calculating averages.
- Barometer.config = { 1 => [{:wunderground => {:weight => 2}}, :google] }
+ Barometer.config = { 1 => [{:wunderground => {:weight => 2}}, :yahoo] }
Weather services, one with keys.
@@ -165,8 +162,8 @@ Weather services, one with keys.
require 'barometer'
- # use yahoo and google, if they both fail, use wunderground
- Barometer.config = { 1 => [:yahoo, :google], 2 => :wunderground }
+ # use yahoo and weather.com, if they both fail, use wunderground
+ Barometer.config = { 1 => [:yahoo, {:weather_dot_com => {:keys => {:partner => PARTNER_KEY, :license => LICENSE_KEY } }}], 2 => :wunderground }
barometer = Barometer.new("Paris")
weather = barometer.measure
@@ -196,7 +193,7 @@ weather service.
For example, if you look at the example above, the query of "Paris" refers
to a city in France. Yahoo weather services only supports
weather results for USA (at least at the time of writing). Therefore,
-Barometer would not use Yahoo, just Google and failover to use Wunderground
+Barometer would not use Yahoo, just Weather.com and failover to use Wunderground
(if needed).
== searching
@@ -354,6 +351,7 @@ Thank you to these developers who have contributed. No contribution is too small
- nofxx (https://github.com/nofxx)
- floere (https://github.com/floere)
- plukevdh (https://github.com/plukevdh)
+- gkop (https://github.com/gkop)
= Links
@@ -363,4 +361,4 @@ Thank you to these developers who have contributed. No contribution is too small
== copyright
-Copyright (c) 2009-2011 Mark G. See LICENSE for details.
+Copyright (c) 2009-2012 Mark G. See LICENSE for details.

0 comments on commit 2f24099

Please sign in to comment.