2019-02-23 20:41:01 +01:00
|
|
|
from DataSourceInterface import DataSourceInterface
|
2019-02-21 17:17:18 +01:00
|
|
|
|
2019-02-23 20:41:01 +01:00
|
|
|
class WeatherInterface (DataSourceInterface):
|
|
|
|
"""Interface for fetching and processing weather forecast information."""
|
2019-02-23 19:35:07 +01:00
|
|
|
def get_forecast_in_days (self, offset_by_days, location):
|
2019-02-21 17:17:18 +01:00
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|
|
|
|
|
2019-02-23 19:35:07 +01:00
|
|
|
def get_today_forecast (self, location):
|
2019-02-21 17:17:18 +01:00
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|