Skip to content

Commit

Permalink
fixing some README typos
Browse files Browse the repository at this point in the history
  • Loading branch information
winfred committed Jan 21, 2012
1 parent 842b1dd commit f9e619c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Expand Up @@ -70,7 +70,7 @@ Any location string that Wunderground accepts will pass straight through this wr

w_api.get_conditions_for("autoip") #passes straight through, but only gets the weather for your server's IP, so not very useful probably

For geocoding a specific ip address, just provide in a an IP like this:
For geocoding a specific ip address as the location, just provide an IP like this:

w_api.get_alerts_for({geo_ip: "127.0.0.1"})

Expand Down Expand Up @@ -103,7 +103,7 @@ to get the history data for this date/location. You may enjoy more flexibility w
w_api.get_history_for(Date.now, {lang: "FR"}, "France/Paris")
w_api.get_history_for(Date.now, {lang: "DE", geo_ip:"123.4.5.6"})

.get_history_for accepts a string or any Date/Time/DateTime object that responds to .strftime("%Y%m%d") to auto-format the date.
.get_history_for accepts a string or any Date/Time/DateTime-like object that responds to .strftime("%Y%m%d") to auto-format the date.


### Other Stuff
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -50,5 +50,5 @@ Rake::RDocTask.new do |rdoc|
end
desc "Open an irb session preloaded with this library"
task :console do
sh "irb -rubygems -I lib -r wunderground_pound"
exec "irb -rubygems -I lib -r wunderground"
end

0 comments on commit f9e619c

Please sign in to comment.