Types: Sunrise#
- class yr_weather.types.sunrise.SunriseData(*args, **kwargs)#
Bases:
dict- location: SunriseLocation#
- meta: SunriseMeta#
- class yr_weather.types.sunrise.SunriseDate(*args, **kwargs)#
Bases:
dict- high_moon: SunriseDetails#
- low_moon: SunriseDetails#
- moonphase: SunriseDetails#
- moonposition: Moonposition#
- moonrise: SunriseDetailsSimple#
- moonset: SunriseDetailsSimple#
- moonshadow: Moonshadow#
- solarmidnight: SunriseDetails#
- solarnoon: SunriseDetails#
- sunrise: SunriseDetailsSimple#
- sunset: SunriseDetailsSimple#
- class yr_weather.types.sunrise.SunriseLocation(*args, **kwargs)#
Bases:
dict- time: List[SunriseDate]#
Type aliases#
To learn more about the impact of these options, see the MET.no documentation.
- yr_weather.types.sunrise.DetailLiteral#
Represents a valid detail from a Sunrise API response.
Literal[ "high_moon", "low_moon", "moonphase", "solarmidnight", "solarnoon", "moonrise", "moonset", "sunrise", "sunset", "moonposition", "moonshadow" ]