E-Paper-Calendar/Calendar/WeatherInterface.py

12 lines
438 B
Python
Raw Permalink Normal View History

from DataSourceInterface import DataSourceInterface
2019-07-13 08:05:35 +02:00
class WeatherInterface (DataSourceInterface):
"""Interface for fetching and processing weather forecast information."""
2019-07-13 08:05:35 +02:00
def get_forecast_in_days(self, offset_by_days, location=None):
raise NotImplementedError("Functions needs to be implemented")
2019-07-13 08:05:35 +02:00
def get_today_forecast(self, location=None):
raise NotImplementedError("Functions needs to be implemented")