Skip to main content

an "API" for meteoalarm.eu using the rss feeds.

Project description

An API for meteoalarm.eu weather alerts.

Lets see a simple example:

from meteoalarm_rssapi import MeteoAlarm
meteo = MeteoAlarm('DE', 'Kreis Ahrweiler')

print(meteo.alerts())

and you will get (after some pprint):

message_id: 1817809724
awareness_type: Snow/Ice
awareness_level: Yellow
country: DE
region: Kreis Ahrweiler
from: 19.01.2021 10:00 CET
until: 19.01.2021 12:00 CET
message:
  deutsch: Es tritt im Warnzeitraum oberhalb 400 m leichter
  Schneefall mit Mengen zwischen 1 cm und 3 cm auf. In Staulagen
  werden Mengen bis 5 cm erreicht. Die Schneefallgrenze steigt auf
  1500 Meter. Verbreitet wird es glatt.
  english: There is a risk of light snowfall (Level 1 of 4).
  Height range: > 400 m;
  Precipitation amounts: 1-3 cm; in windward areas: < 5 cm;
  snowfall level: rising to 1500 meter

You need to know your iso 2-letter country code (e.g. DE) and the name of your region as reported by your national agency to meteoalarm.eu (e.g. Kreis Ahrweiler). For that, please check the page for your country in meteoalarm.eu.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meteoalarm_rssapi-0.1.0.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

meteoalarm_rssapi-0.1.0-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file meteoalarm_rssapi-0.1.0.tar.gz.

File metadata

  • Download URL: meteoalarm_rssapi-0.1.0.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.22.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.9

File hashes

Hashes for meteoalarm_rssapi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cee418cc98719e9e3f16a32ad5ef9642d32bab34fa48c779578bf1f37290a93a
MD5 6c087be37064987ee765a97c6d3ba290
BLAKE2b-256 10dd773c6ebdd04503ae2791c008b3adb66bce535b6852b5c543992a9ba4409a

See more details on using hashes here.

File details

Details for the file meteoalarm_rssapi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: meteoalarm_rssapi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.22.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.9

File hashes

Hashes for meteoalarm_rssapi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b532175a521c67f74c2e3560a969c549c38a19699de784134aedf5ca80feb477
MD5 9e0b889987920896df7e8ad765e9a28f
BLAKE2b-256 402c1116d2a605556c91df3cbd30007411871e6f3f7628539dd6af6954acb339

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page