In [1]:
from weatherdata_utils import WeatherStation
In [2]:
station = WeatherStation("http://w1.weather.gov/xml/current_obs/KNYC.xml")
In [3]:
station.update()
In [4]:
station.temp()
Out[4]:
In [5]:
station.humidity()
Out[5]:
In [6]:
station.pressure()
Out[6]:
In [ ]: