/python-aemet_forecast

Primary LanguagePythonApache License 2.0Apache-2.0

PYTHON-AEMET_FORECAST

A Python module for accessing Aemet forecast data through its api

from aemet_forecast import AemetForecast

API_KEY = "your-api-key"
MUNICIPIO_ID = 14021

forecast = AemetForecast(api_key=API_KEY)

weekly_forecast_data = forecast.get_daily_forecast(MUNICIPIO_ID)