Fetch weather without exposing provider-specific transport details. More...
Inherits ABC.
Public Member Functions | |
| str | provider_id (self) |
| Return the stable provider identifier. | |
| WeatherState | refresh (self, WeatherLocation location) |
| Fetch and return a fresh normalized weather state. | |
Fetch weather without exposing provider-specific transport details.
| str weather.weather_provider_if.WeatherProviderIf.provider_id | ( | self | ) |
Return the stable provider identifier.
| WeatherState weather.weather_provider_if.WeatherProviderIf.refresh | ( | self, | |
| WeatherLocation | location | ||
| ) |
Fetch and return a fresh normalized weather state.
| location | Location for which weather should be fetched. |