gis4dis / poster_obsolete

Application that accepts POST requests for data collection.
GNU General Public License v3.0
0 stars 0 forks source link

Explore OZP API #11

Closed jirik closed 6 years ago

jirik commented 6 years ago

Request example:

curl -L --basic -u user:password -v -o measure-list.json https://ovzdusi.brno.cz/api/measure/list.json
Endpoint Result
/api/station/list.json 200 JSON, ids 1 -- 5
/api/station/detail/1.json 200 JSON
/api/measure/list.json 404 Požadavek nelze dokončit
/api/data/1/1.json?from=2015-11-01&to=2015-11-01 404 Požadavek nelze dokončit
/api/data/1/1.json?from=2017-10-20&to=2017-10-21 404 Požadavek nelze dokončit
jirik commented 6 years ago

We will not use this buggy API, instead we will receive dump of their data.