README.md in accuweather-0.1.3 vs README.md in accuweather-0.2.0

- old
+ new

@@ -43,9 +43,29 @@ current_weather.pressure # => '30.35' current_weather.humidity # => '43%' current_weather.cloud_cover # => '40%' ``` +Get forecast details: + +```ruby +weather_forecast = Accuweather.get_conditions(location_id: 'cityId:53286').forecast +last_forecast_day = weather_forecast.last +last_forecast_day.date # => "12/3/2015" +last_forecast_day.day_of_week # => "Thursday" +last_forecast_day.sunrise # => "7:49 AM" +last_forecast_day.sunset # => "4:16 PM" + +# Get the dates, daytime high and nighttime low temperatures +weather_forecast.map(&:date) # => ["11/27/2015", "11/28/2015", "11/29/2015", "11/30/2015", "12/1/2015", "12/2/2015", "12/3/2015"] +weather_forecast.map(&:daytime).map(&:high_temperature) # => ["45", "45", "47", "44", "44", "48", "48"] +weather_forecast.map(&:nighttime).map(&:low_temperature) # => ["27", "28", "31", "32", "40", "42", "36"] +``` + +Here is a full list of attributes for daytime and nighttime forecasts: + +`weather_text`,`weather_text_long`,`weather_icon`,`high_temperature`,`low_temperature`,`real_feel_high`,`real_feel_low`,`wind_speed`,`wind_direction`,`wind_gust`,`max_uv`,`rain_amount`,`snow_amount`,`ice_amount`,`precipitation_amount`,`thunderstorm_probability`,`rain_probability`,`snow_probability`,`ice_probability` and `precipitation_probability` + Get the units for the conditions: ```ruby units = Accuweather.get_conditions(location_id: 'cityId:53286').units units.temperature # => 'F'