ReagentX / purple_air_api

Python package to get and transform PurpleAir data

Home Page:https://pypi.org/project/purpleair/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example code is out of date/wrong

ReddyKilowatt opened this issue · comments

Hi,

this code

from purpleair.network import SensorList
p = SensorList()  # Initialized 11,220 sensors!
print(len(p.useful_sensors))  # 10047, List of sensors with no defects

should be

from purpleair.network import SensorList
p = SensorList()  # Initialized 11,220 sensors!
print(len(p.all_sensors))