2019-02-23 20:41:01 +01:00
|
|
|
from DataSourceInterface import DataSourceInterface
|
2019-02-21 17:17:18 +01:00
|
|
|
|
2019-07-13 08:05:35 +02:00
|
|
|
|
2019-02-23 20:41:01 +01: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):
|
2019-02-21 17:17:18 +01:00
|
|
|
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")
|