class CrystalWeather::Types::Forecast

Defined in:

types/forecast.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : JSON::Any) #

Creates a new Forecast object based on the data sent by the API


[View source]

Instance Method Detail

def city : City #

City where the weather conditions applies


[View source]
def conditions : Array(Conditions) #

Details of the forecast


[View source]