🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

meteoalertapi

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meteoalertapi

A small api to get alerting messages from extreme weather in Europe from https://www.meteoalarm.org.

0.3.1
Maintainers
2

meteoalarm-api

PyPI Travis (.org)

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts