forked from tdwojak/Python2017
16 lines
319 B
Python
16 lines
319 B
Python
|
from weather import Weather
|
||
|
|
||
|
weather = Weather()
|
||
|
|
||
|
lookup = weather.lookup_by_location("Poznan")
|
||
|
astronomy = lookup.astronomy()
|
||
|
atmosphere = lookup.atmosphere()
|
||
|
condition = lookup.condition()
|
||
|
units = lookup.units()
|
||
|
wind = lookup.wind()
|
||
|
|
||
|
print(astronomy)
|
||
|
print(atmosphere)
|
||
|
print(condition.text())
|
||
|
print(units)
|
||
|
print(wind)
|