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.1.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for meteoalertapi-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9beae2f69cad33cced9d326d7d4f57e8e93e3806390b5cece43cad0611c948da |
|
MD5 | 07695aaad17b14e2998a35e3feec18b8 |
|
BLAKE2b-256 | b9d9330bbfabb4a474c023452e4d9f588d2c078e66a0d0f8995a29fff0253d39 |