A simple HTML container for PurpleAir widgets.
This is a simple HTML page with some JavaScript, it can be hosted anywhere without any special requirements or dependencies.
You can use this page hosted on GitHub.io at https://dpaoliello.github.io/purpleair
The "Download data" link is included in the registration email that you received from PurpleAir.
Otherwise, on the PurpleAir map:
- Click on the sensor that you want to add a widget for.
- Click on "Get this Widget".
- Copy the address of the "Download Data" link at the bottom of that pop-up (right click -> "Copy link").