Weather Station Hardware > Air Quality Sensors

Heads-up: PurpleAir JSON query now requires an API key... grrrrr.

(1/6) > >>

saratogaWX:
It appears they shut off the old queries like http://www.purpleair.com/json?show=4299 and now redirect to a server that won't respond to the query.

https://community.purpleair.com/t/discontinuation-of-the-json-and-data-json-urls/713 says
--- Quote ---adrian
13h

After a few years of grace period, we are now redirecting these two URLs (www.purpleair.com/json and www.purpleair.com/data.json ) to a server that will not respond.

Please contact us if you have any questions or need any help getting going on our new API, at https://api.purpleair.com .
--- End quote ---

Sigh.. I've sent an email to request a READ key, and will rework my scripts to use it instead.  Meanwhile, the realtime query script(s) are very broken.. no data available.

For weather software developers that support realtime queries, they'll have to obtain keys and rewrite that portion of their software.
Grumble.

waiukuweather:
WD already has option to use purple air api luckily

92merc:
Where do you request the API key?  I'm not seeing it readily.

92merc:
Looks like just their regular "Contact us" page is to be used.
https://www2.purpleair.com/pages/contact-us

Forever:

--- Quote from: waiukuweather on May 27, 2022, 02:52:19 PM ---WD already has option to use purple air api luckily

--- End quote ---
It's does but after entering my API key my graph is still flat lined. I think the graph is linked to the old method and not the new one.

Navigation

[0] Message Index

[#] Next page

Go to full version