Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby client for the undocumented Google Weather API
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Guardfile
LICENSE
README.md
Rakefile
googleweather.gemspec

README.md

Getting Started

gw = Googleweather.new('Philadelphia')

Current Weather

gw.now

Forecast for specific day this week

Google only provides the next 4 days

gw.forecast[:sun] # :sun :mon :tues :wed :thu :fri :sat

weather = GoogleWeather.new("Philadelphia") weather.now weather.today weather[:sunday] weather[:monday] weather[:tuesday] weather[:wednesday] weather[:now] weather[:today] weather[:friday] weather[:saturday]

Something went wrong with that request. Please try again.