Lecture for the course ‘Digital Access to Cultural Heritage’, 12-03-2015 Olaf Janssen, National Library of the Netherlands [email protected] - @ookgezellig - slideshare.net/OlafJanssenNL Introduction to (web) APIs Definitions, examples, concepts and trends
181
Embed
Introduction to (web) APIs - definitions, examples, concepts and trends
This story is about the added value of APIs (application programming interfaces) for modern businesses, developers and software consumers. It deals with API-fundamentals and shows how APIs are the cornerstones of modern business development (BizDev2.0). By looking at casestudies from Google Maps, Twitter, Amazon, eBay, Moo, Flickr, Netflix and other web2.0-companies, it becomes clear how APIs add value for all parties on the modern web.
This presentation was given by Olaf Janssen - Open Data coordinator for the National Library of the Netherlands (KB) - as a lecture for students of the master's course "Digital Access to Cultural Heritage" at Leiden University on 13-3-2014
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Lecture for the course ‘Digital Access to Cultural Heritage’, 12-03-2015
1. The long tail 2. Data is the next Intel Inside 3. Users add value 4. Network effects by default 5. Some rights reserved 6. The perpetual beta 7. Software above the level of a single device 8. Cooperate, don't control
2005 Tim O’Reilly What is Web 2.0: Design Patterns and Business Models for the Next Generation of Software
1. The long tail 2. Data is the next Intel Inside 3. Users add value 4. Network effects by default 5. Some rights reserved 6. The perpetual beta 7. Software above the level of a single device 8. Cooperate, don't control
2005 Tim O’Reilly What is Web 2.0: Design Patterns and Business Models for the Next Generation of Software
Slide taken from http://www.slideshare.net/edsonm/michael-edson-let-us-go-boldly-into-the-future
That is:
Web 2.0 applications are built of a network of cooperating open data
services (open APIs).
API ?
Application Programming Interface
http
://ww
w.le
nin
imports.co
m/ca
ry_gra
nt_
new
_7a.jp
g
http
://ww
w.le
nin
imports.co
m/ca
ry_gra
nt_
new
_7a.jp
g
GUI
(graphical) interface for interaction human user computer
Websites Apps
API
(programmable) interface for interaction computer computer
application application software software
.. a means of putting information in and getting information out of your system
without having to type it yourself…
API
(programmable) interface for interaction computer computer
application application software software
… with a number of characteristics ….
ATM to illustrate API characteristics • Specialized service
does limited set of things very well (“exposes certain services of bank”)
• Consistent & well-defined
operation
• Limited set of input card, pin, amount, receipt Y/N
• Limited set of output
cash, (receipt)
• Enabling (protocolised) self-service
.... all while bank keeps control over the €€s
1. The long tail 2. Data is the next Intel Inside 3. Users add value 4. Network effects by default 5. Some rights reserved 6. The perpetual beta 7. Software above the level of a single device 8. Cooperate, don't control
Web 2.0 applications are built of a
network of cooperating open data services (open APIs).
2005 Tim O’Reilly What is Web 2.0: Design Patterns and Business Models for the Next Generation of Software
1. The long tail 2. Data is the next Intel Inside 3. Users add value 4. Network effects by default 5. Some rights reserved 6. The perpetual beta 7. Software above the level of a single device 8. Cooperate, don't control
2005 Tim O’Reilly What is Web 2.0: Design Patterns and Business Models for the Next Generation of Software
Network of cooperating open data services (APIs)
Offer APIs yourself
Offer open APIs yourself
Re-use open APIs of others
Your own open webservice #1
Web2.0 (BMICE Ring 4)
a network of open APIs
Your own open webservice #1
Web2.0 (BMICE Ring 4)
a network of open APIs
For the KB • OAI-PMH • SRU • Resolver
Your own open
API #2
Your own open webservice #1
Web2.0 (BMICE Ring 4)
a network of open APIs
Your own open
API #2
Your own open webservice #1
Other party’s open webservice
Web2.0 (BMICE Ring 4)
a network of open APIs
Your own open
API #2
Your own open webservice #1
Other party’s open webservice
Web2.0 (BMICE Ring 4)
a network of open APIs
Mashup (in browser)
Your own open
API #2
Your own open webservice #1
Other party’s open webservice
Web2.0 (BMICE Ring 4)
a network of open APIs
Mashup (in browser)
Open API
Your own open
API #2
Your own open webservice #1
Other party’s open webservice
Open webservice
Web2.0 (BMICE Ring 4)
a network of open APIs
Mashup (in browser)
Open API
Open API
Your own open
API #2
Your own open webservice #1
Other party’s open webservice
Open webservice
Web2.0 (BMICE Ring 4)
a network of open APIs
Mashup (in browser)
Open API
Open API
Application on desktop
Your own open
API #2
Your own open webservice #1
Other party’s open webservice
Open webservice
Web2.0 (BMICE Ring 4)
a network of open APIs
Mashup (in browser) Mobile app
Open API
Open API
Application on desktop
Open API? • Available on the web, freely shared
• Everybody can use it
(often after account registration / API-key, via self-service)
• Open standards & technologies
(JavaScript, XML, JSON, Oauth, SRU, OAI-PMH…)
• Openly documented
Open API? http://www.youtube.com/watch?v=7r7QpIDEI_o
can start building applications and businesses around a company’s assets. They use open APIs and self-service tools to establish a business relationship
can start building applications and businesses around a company’s assets. They use open APIs and self-service tools to establish a business relationship