class OWM::CurrentWeather

Overview

Contains all the information on the current weather status for any city.

Included Modules

Defined in:

owm/current_weather.cr

Constructors

Instance Method Summary

Instance methods inherited from class OWM::Conditions

clouds : Int32 clouds, main : Main main, rain : Precipitation rain, snow : Precipitation snow, time : Time time, weather : Array(Weather) weather, wind : Wind wind

Constructor methods inherited from class OWM::Conditions

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

Contains all the information on the current weather status for any city.


[View source]

Instance Method Detail

def coord : OWM::Coord #

[View source]
def country : String #

[View source]
def id : Int32 #

[View source]
def name : String #

[View source]
def timePassed #

Returns the time passed since the instantiation of the object. Useful for checking how recent the weather data is.


[View source]