E-Paper-Calendar/Calendar/WeatherInterface.py
2019-07-13 08:05:35 +02:00

11 lines
438 B
Python

from DataSourceInterface import DataSourceInterface
class WeatherInterface (DataSourceInterface):
"""Interface for fetching and processing weather forecast information."""
def get_forecast_in_days(self, offset_by_days, location=None):
raise NotImplementedError("Functions needs to be implemented")
def get_today_forecast(self, location=None):
raise NotImplementedError("Functions needs to be implemented")