This package is for getting data from Buienalarm
Pybuienalarm is tested in Belgium
- Python 3
- requests
$ pip install pybuienalarm
from buienalarm.pybuienalarm import Buienalarm
# create a new buienalarm instance
b = Buienalarm(
longitude, latitude, timeframe)
# get current precipitation
print b.get_precipitation_now()
# get current temperature
print b.get_temperature()
# get the total expected precipitation within the time-frame
print b.get_precipitation_forecast_total()
# get the average expected precipitation within the time-frame
print b.get_precipitation_forecast_average()
https://github.com/Xorfor since this packet is based on https://github.com/Xorfor/Domoticz-Buienalarm-Plugin