Quick check of the weather-au forecasts

This commit is contained in:
Paul Warren 2022-01-29 08:03:03 +11:00
parent 727eb38bbc
commit 44e5191999

6
quick_check.py Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env python3
from weather_au import api
w = api.WeatherApi(search="Longley+Tas")
for f in w.forecasts_daily():
print(f['date'], f['icon_descriptor'], f['temp_max'], f['temp_min'])