Hi there!
I just wanted to share the client I have built for the public API, in case anyone here might find it handy.
I’m working on a several projects, including a research study that will utilise AirGradient monitors (among other things) to build a platform capable of predicting deterioration in people living with COPD and asthma. To find a more convenient way of handling the data ingestion from AirGradient, I built a wrapper for the public API that encapsulates the functionality in an npm pacakge.
Currently, the supported API includes only the public API, but in the future I might add support for the local HTTP API too (exposed on the local network by the devices themselves).
If you have experience in software development or the need to query the API programmatically from JavaScript / TypeScript code, you can check out the client here:
https://www.npmjs.com/package/airgradient-api
Any feedback, PRs and bug reports are welcome at the repository: