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)

(Unofficial) Python wrapper for the MeteoAlarm.org 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.org/
meteo = Meteoalert('country', 'province_name')

# Get the weather alarm from 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.2.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

meteoalertapi-0.2.0-py3-none-any.whl (4.5 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