[atlas] Bulk access to the measurements?
Daniel Quinn dquinn at ripe.net
Wed Nov 13 11:20:20 CET 2013
On Wed 13 Nov 2013 10:04:56 CET, Stephane Bortzmeyer wrote: > A colleague asks me if it is possible to have bulk access to public > measurement data. (Properly: otherwise, he could dor a for loop over > all measurement IDs but I suspect it is not nice.) I think we'd need more information regarding what is meant by "bulk access". At present, all measurement *result* data is only available by way of explicit measurement id, but the *metadata* is available as a list: The results have to be fetched one measurement at a time: /api/v1/measurement/MSM_ID/result/ But you can get basic information about every measurement too: /api/v1/measurement/?is_public=1&limit=100 That call will give you a list of the first 100 of all public measurements and their metadata. You can tweak the limit (be kind) and/or loop over some limit/offset values to get them all. This won't give you all of the *result* data, but it may be what you're looking for.