Daily forecast

class python_weather.forecast.DailyForecast
property date: date

The local date of this forecast.

property highest_temperature: int

The highest temperature in either Celcius or Fahrenheit.

property hourly_forecasts: Iterable[HourlyForecast]

The hourly forecasts of this day.

property locale: Locale

The localization used to display information in this object.

property lowest_temperature: int

The lowest temperature in either Celcius or Fahrenheit.

property moon_illumination: int

The percentage of the moon illuminated.

property moon_phase: Phase

The moon’s phase.

property moonrise: time | None

The local time when the moon rises. This can be None.

property moonset: time | None

The local time when the moon sets. This can be None.

property snowfall: float

Total snowfall in either Centimeters or Inches.

property sunlight: float

Hours of sunlight.

property sunrise: time | None

The local time when the sun rises. This can be None.

property sunset: time | None

The local time when the sun sets. This can be None.

property temperature: int

The average temperature in either Celcius or Fahrenheit.

property unit: auto

The measuring unit used to display information in this object.

class python_weather.enums.Phase

Represents a moon phase.

FIRST_QUARTER = 'First Quarter'
FULL_MOON = 'Full Moon'
LAST_QUARTER = 'Last Quarter'
NEW_MOON = 'New Moon'
WANING_CRESCENT = 'Waning Crescent'
WANING_GIBBOUS = 'Waning Gibbous'
WAXING_CRESCENT = 'Waxing Crescent'
WAXING_GIBBOUS = 'Waxing Gibbous'
property emoji: str

The stylized name for this enum.