A small api to get alerting messages from extreme weather in Europe from https://www.meteoalarm.org.
Project description
meteoalarm-api
(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
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.2.0.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file meteoalertapi-0.2.0.tar.gz
.
File metadata
- Download URL: meteoalertapi-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c4533926f4ad3a5c4562c6f9f81daade0c8e5a032c6dbf14f741d9100ff58f4 |
|
MD5 | 54e791a183be4cb5983941b544b4f030 |
|
BLAKE2b-256 | 33396fa408794c47b764188af8290205713ad22078e10a071a75554366df039c |
File details
Details for the file meteoalertapi-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: meteoalertapi-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f105eec17478f519cd45c92213ce30fd1af483b7070d7d73e8181b92fb717608 |
|
MD5 | f6d1cf39eaf8259ef2da31a5bfa7d0e4 |
|
BLAKE2b-256 | 7086afc1358b3bce159cd73a809df14aaa2ec3795940d59182b9c96a8294b493 |