Skip to content

frwickst/airq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

airq: a web scraper for http://www.ilmanlaatu.fi/

Quickstart

>>> from airq import AirQ
>>> a = AirQ(rs="430", ss="186") # Turku = 430, Turun kauppatori = 186
>>> sensors = a.getSensors() # Get sensors
>>> values = a.getSensorValues() # Get sensor values
>>> print values # Prints the values
>>> for sensor in sensors: # For all sensors
>>>     print sensor, ' : ' ,values[sensor]['current'] # Print the sensor and its current value

Releases

No releases published

Packages

No packages published

Languages