Skip to content

A simple gem for fetching the current temperature at a location

Notifications You must be signed in to change notification settings

csmb/current_temp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

CurrentTemperature

A simple gem. It will return the current temperature in degrees Fahrenheit using Weather Underground's API.

Requirements

A WU api key is necessary to use this. Set the api key as an environment var, WUNDERGROUND_API_KEY="you_api_key". If you omit this, the gem will fallback to the api key on WU's documentation page, which comes with unknown side effects.

Usage

CurrentTemperature.at_location(94110)

CurrentTemperature.at_location("San Francisco, Ca")

About

A simple gem for fetching the current temperature at a location

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages