A small api to get alerting messages from extreme weather in Europe from https://www.meteoalarm.eu.
Project description
meteoalarm-api
(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
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.1.6.tar.gz
(2.8 kB
view details)
File details
Details for the file meteoalertapi-0.1.6.tar.gz
.
File metadata
- Download URL: meteoalertapi-0.1.6.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2afc7218f612eccbcce98617b1f9349e61a59e655ca9bb111d851a49614bcce |
|
MD5 | 7c1c2007f3f3f6955aea949e8653bf3d |
|
BLAKE2b-256 | b9de65da0350efab4852bced8835e25692a04b8a9661aa6a7f13a8d035073e7d |