platypush/platypush/plugins/weather/__init__.py
Fabio Manganiello 02f6845e72 - Added weather.openweathermap plugin and backend, as a replacement for Darksky [closes #177]
- Added note to the Darksky plugin about the decomissioning of the API by the end of the year
2021-03-12 01:31:26 +01:00

14 lines
253 B
Python

from abc import ABC
from platypush.plugins import Plugin, action
class WeatherPlugin(Plugin, ABC):
"""
Base class for weather plugins.
"""
@action
def get_current_weather(self, *args, **kwargs):
raise NotImplementedError