Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
require 'weather-api'
woeid = '12761740'
response = Weather.lookup(woeid, Weather::Units::FARENHEIT)
puts "#{response.condition.temp}\u00B0 #{response.condition.text}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.