E-Paper-Calendar/Calendar/WeatherInterface.py

9 lines
437 B
Python
Raw Permalink Normal View History

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")