A small api to get alerting messages from extreme weather in Europe from https://www.meteoalarm.org.
Project description
meteoalarm-api
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
Release history Release notifications | RSS feed
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.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for meteoalertapi-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b47b0d35b53fde967c2e7334bd6d65b3ba2804ff1b62680867d0e844d11125 |
|
MD5 | 15f03c6a8b1c871552139a756cf41740 |
|
BLAKE2b-256 | 2ab2b52d58089a0a029bb60ac1c79ab81653cc176d16ff2d9f91d8579171729b |