ronanmu / meteoalert-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:Python 100.0%