Types: Sunrise#

class yr_weather.types.sunrise.Moonposition(*args, **kwargs)#

Bases: dict

azimuth: str#
desc: str#
elevation: str#
phase: str#
range: str#
time: str#
class yr_weather.types.sunrise.Moonshadow(*args, **kwargs)#

Bases: dict

azimuth: str#
desc: str#
elevation: str#
time: str#
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.SunriseDetails(*args, **kwargs)#

Bases: dict

desc: str#
elevation: str#
time: str#
class yr_weather.types.sunrise.SunriseDetailsSimple(*args, **kwargs)#

Bases: dict

desc: str#
time: str#
class yr_weather.types.sunrise.SunriseLocation(*args, **kwargs)#

Bases: dict

height: str#
latitude: str#
longitude: str#
time: List[SunriseDate]#
class yr_weather.types.sunrise.SunriseMeta(*args, **kwargs)#

Bases: dict

licenseurl: str#

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"
]