Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

A small api to get alerting messages from extreme weather in Europe from https://www.meteoalarm.eu.

Project description

meteoalarm-api

PyPI Travis (.org)

(Unofficial) Python wrapper for the MeteoAlarm.eu website (European Weahter alarm), which can be used to look if your province in your country has currently had a weather alarm.

Installation

Using Pip:

pip install meteoalertapi

Code Example

from meteoalertapi import Meteoalert

# Find you country and province on http://meteoalarm.eu/
meteo = Meteoalert('country_letters', 'province_name')

# Get the weather alarm from your place
meteo = Meteoalert('country_letters', 'province_name')
print(str(meteo.get_alert()))

Changelog

See the CHANGELOG file.

License

MIT

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page