2019-02-21 17:17:18 +01:00
|
|
|
class WeatherInterface (object):
|
|
|
|
"""Interface for fetching and processing weather forecast information."""
|
|
|
|
def is_available (self):
|
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|
|
|
|
|
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")
|