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 details)
Built Distribution
File details
Details for the file meteoalertapi-0.3.1.tar.gz
.
File metadata
- Download URL: meteoalertapi-0.3.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cfcb791b2ceabeeea98a6e1acf8f065a60f31cb1811d5f9d1c839aa5037dba3 |
|
MD5 | 8edf910a9562848124a1bf2a567a7d82 |
|
BLAKE2b-256 | 5838e0d7304ff36a4227288fce363054978f7af92abf021d04c5817bf6caa8dd |
File details
Details for the file meteoalertapi-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: meteoalertapi-0.3.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9beae2f69cad33cced9d326d7d4f57e8e93e3806390b5cece43cad0611c948da |
|
MD5 | 07695aaad17b14e2998a35e3feec18b8 |
|
BLAKE2b-256 | b9d9330bbfabb4a474c023452e4d9f588d2c078e66a0d0f8995a29fff0253d39 |