Skip to content
Ruby weather app based on Yahoo Weather
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
weather.rb

README.md

Weather App

Weather App is based on Yahoo Weather by simply entering the zip code. The web app determines your location and the API will display weather details like temperature, city based on your zip code, and forecasts.

Required components

  1. weather-api: to get Yahoo Weather objects
  2. nokogiri: to scrape WOEID that is required by Yahoo

Installation

On Weather-api

gem install weather-api

On nokogiri

gem install nokogiri

Set-Up

require 'rubygems'
require 'weather-api'
require 'nokogiri'
require 'open-uri'
require 'date'

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.