7 lines
195 B
Python
Executable file
7 lines
195 B
Python
Executable file
#!/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'])
|