Quick check of the weather-au forecasts
This commit is contained in:
parent
727eb38bbc
commit
44e5191999
1 changed files with 6 additions and 0 deletions
6
quick_check.py
Executable file
6
quick_check.py
Executable 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'])
|
Loading…
Reference in a new issue