Comments (5)
Resolved in v1.2.2 with a temporary fix until api.purpleair.com/v1/
is usable.
from purple_air_api.
I've not seen this error before, perhaps the endpoint changed. I will look into this.
from purple_air_api.
Same error for me. From what I found elsewhere it sounds like they did change something:
https://stackoverflow.com/questions/65030818/javascript-gets-get-https-www-purpleair-com-json-400-bad-request-on-json-r
from purple_air_api.
Thanks for the link, looks like this should be a simple patch.
from purple_air_api.
Looks like it's perhaps related to this shift:
https://docs.google.com/document/d/15ijz94dXJ-YAZLi9iZ_RaBwrZ4KtYeCy08goGBwnbCU/edit
The JSON dump of all sensors works at
https://www.purpleair.com/data.json
but not at
https://www.purpleair.com/json
from purple_air_api.
Related Issues (20)
- Possible bug with `get_historical()` HOT 3
- ValueError: Invalid JSON data returned from network! HOT 1
- Discontinuation of the /json and /data.json urls
- `as_dict` and `as_flat_dict` should be channel methods, not sensor methods
- Organize FAQ
- Bug converting last_seen to datetime HOT 4
- RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. HOT 1
- Deprecated API Endpoint (Invalid JSON data returned from network!) HOT 23
- Missing Parent Problem HOT 2
- Custom Time Range for get_historical HOT 1
- Add/Register DOI Badge HOT 1
- ThingSpeak field data type changed
- Field names disagreement with the PurpleAir documentation HOT 1
- Requests_cache HOT 4
- Help me in downloading the data by subsetting spatially and temporally
- Example code is out of date/wrong
- Parent sensors constructed from Child IDs have incorrect identifiers
- Limit to Historical Data HOT 2
- Formalize `thingspeak_args` parameters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from purple_air_api.