Skip to main content

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

Project description

meteoalarm-api

PyPI Travis (.org)

An unofficial Python wrapper for MeteoAlarm.org website (European Weather alerts), which can be used to check if a given province in your country has currently a weather alert.

Installation

Using Pip:

pip install meteoalertapi

Code Example

from meteoalertapi import Meteoalert

# Find you country and province on https://meteoalarm.org/ or https://feeds.meteoalarm.org/
meteo = Meteoalert('country', 'province_name')

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

Changelog

See the CHANGELOG file.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meteoalertapi-0.3.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

meteoalertapi-0.3.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

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