[ooni-dev] OONI API 1.0.0 is out!

Arturo Filastò arturo at openobservatory.org
Fri Sep 29 20:10:45 UTC 2017


Hi Oonitarians!

We are glad to announce the release of the stable version of OONI's new measurement API, which is available here: https://api.ooni.io/.

The OONI API is based on the stable release of our data processing pipeline, which has been re-engineered over the last year to detect censorship events around the world faster and more accurately.

We added the following to the OONI API:

* API endpoints for listing and filtering anomalous measurements

* API endpoints for downloading full reports

We changed the following:

* Reverse sorting in `by_date` view and hide measurements from time travellers

* Better API documentation thanks to redoc based on OpenAPI 2.0

* Improve request validation thanks to connexion base on OpenAPI

* Oonify the UI

* Better testing

Some of the fun things you can do with this new API include, easily searching through OONI measurements to find those containing anomalies.

As an example, with the following one liner (assuming you have curl and jq) you can get a sample of censored websites in India:

$ curl 'https://api.ooni.io/api/v1/measurements?probe_cc=IN&confirmed=true' | jq -r '.results[].input' | sort | uniq | head -n 5
http://0bin.net
http://archive.org
http://hastebin.com
http://mp3.com/
http://pastebin.com

Have fun!

~ Arturo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/ooni-dev/attachments/20170929/f48a0860/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 208 bytes
Desc: Message signed with OpenPGP using AMPGpg
URL: <http://lists.torproject.org/pipermail/ooni-dev/attachments/20170929/f48a0860/attachment.sig>


More information about the ooni-dev mailing list