Query data of multiple sensor by bounding box or group

Hello everyone! I’m brand new to PurpleAir and it’s exciting to join the community.
I would like to ask for your explanation on what the differences are between query data from multiple sensors by using the bounding box method or group method. What are the benefits of each method? I couldn’t find an answer that I can fully understand so I hope you guys can shed light on this matter for me.
Thank you so much for your time!

Groups are best if there is a population of sensors you query consistently (i.e., operated by your company or a local air quality agency). Groups are persistent and it is easy to perform queries against the whole group. Otherwise you need to use bounding box to discover the sensors you’re interested in and filter them every time you want to perform queries.

1 Like