Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Open Data and APIs

Open Data and APIs

Where do Open Data and APIs meet?

Pieter Colpaert

March 27, 2014
Tweet

More Decks by Pieter Colpaert

Other Decks in Technology

Transcript

  1. Open Definition.org A dataset is open if anyone is free

    to use, reuse, and redistribute it — subject only, at most, to the requirement to attribute and/or share-alike.
  2. 5 things an Open Data Portal does ★ A dataset

    registry ★★ A meta-data provider ★★★ A co-creation platform ★★★★ A data publishing platform ★★★★★ A common data hub http://pieter.pm/5stardataportals/
  3. You don’t need an API to publish data APIs enable

    services on top of open data...
  4. You use APIs to… gather feedback This toilet needs cleaning

    Openly licensed data dump at: http://wiki. openstreetmap.org/wiki/Planet.osm
  5. You use APIs to… use data in apps But… are

    hypermedia interfaces APIs? REST API docs at: http://community.openspending.org/help/api/rest/ Raw data at: https://openspending.org/datasets
  6. You use APIs to… use data in apps But… are

    hypermedia interfaces APIs? See a list of government services in your browser GET http://{yourcity}/services Accept: “text/html” Get a JSON feed in your apps GET http://{yourcity}/services Accept: “application/json” Wouldn’t this be great?
  7. You use APIs to… provide updates https://data.irail.be/NMBS/Liveboard/ Ghent%20Sint%20Pieters/ 2014/03/27/14/20 .json

    Raw data at: http://datahub. io/dataset/timetables-for-the-belgian- railway-company Sliding windows of data
  8. You use APIs to… provide services Full text search, autocompletion

    API, querying interfaces (public SQL endpoints?)...