SlideShare a Scribd company logo
 
API s
“ An  application programming interface  ( API )  is a set of functions, procedures, methods or classes that an operating system, library or  service  provides to support requests made by   computer programs. [1]  ” “   Web services  are frequently just  Web   APIs  that can be accessed over a network, such as the Internet ,  and executed on a remote system hosting the requested services.  ”
Resources   —   Commands are defined in simple terms: resources  to be retrieved, stored / get, set Nouns   — Exchanging resources and concepts Commands   —   Commands are   defined in methods with   varying complexity:   depending   on “standard”   Verbs   — Exchanging methods RPC  vs.  REST
RPC  vs.  REST http://example.com/users/ http://example.com/users/{user} http://example.com/findUserForm http://example.com/locations/ http://example.com/locations/{location}  http://example.com/findLocationForm  ... getUser()  addUser() removeUser() updateUser() getLocation() addLocation() removeLocation() updateLocation() listUsers() listLocations() findLocation() findUser()  ...
Most web services use  RESTful  APIs! ... or  at least  “ accidently  RESTful ”
RSS Atom PHP ... JSON jsonFlickrApi({  &quot;stat&quot;: &quot;ok&quot;,    &quot;blogs&quot;: { &quot;blog&quot;: [ {  &quot;id&quot; : &quot;73&quot;,  &quot;name&quot; : &quot;Bloxus test&quot;,  &quot;needspassword&quot; : &quot;0&quot;,  &quot;url&quot; : &quot;http://remote.bloxus.com/&quot; },  ] } })  XML <blogs>  <blog id=&quot;73&quot;  name=&quot;Bloxus test&quot;  needspassword=&quot;0&quot;  url=&quot;http://remote.bloxus.com/&quot; />  </blogs>
Mashup!
http://api.uberVU.com ubervu.test.echo ubervu.conversations.track ubervu.conversations.getList ubervu.conversations.getReactions
Case Study http://code.uberVU.com/ureact WordPress Plugin
Exercise!   Widget
 

More Related Content

ODP
Services Stanford 2012
ODP
Drupal Services 3 - Drupal Dev Days 2011, Brussels
PDF
5. web api 2 aspdotnet-mvc5-slides
PDF
From Open Source to Open API with Restlet
PPT
Introduction to REST and the Restlet Framework
PPTX
Stefaan Ponnet, Fusebox
PPTX
Spring HATEOAS
PPT
RESTFul Web Services - Intro
Services Stanford 2012
Drupal Services 3 - Drupal Dev Days 2011, Brussels
5. web api 2 aspdotnet-mvc5-slides
From Open Source to Open API with Restlet
Introduction to REST and the Restlet Framework
Stefaan Ponnet, Fusebox
Spring HATEOAS
RESTFul Web Services - Intro

What's hot (20)

PPTX
Web services101
PDF
Why Restful
ODP
RESTFul WebApp Concept
PPTX
Managed Metadata - The Good, The Bad, and The Ugly
PDF
Annotation Tools (OA European Roll Out)
PPTX
Designing CakePHP plugins for consuming APIs
PPT
The Rest Architectural Style
PPTX
Introduction to RESTful Webservices in JAVA
PPT
Rest introduction
PPTX
PPTX
RESTful Web Service using Swagger
PDF
Creating Restful Web Services with restish
PPT
Developing RESTful WebServices using Jersey
PDF
Services in Drupal 8
PDF
REST - Representational State Transfer
PPTX
Hypermedia APIs
PPTX
Standards of rest api
PDF
The Glory of Rest
PPTX
The glory of REST in Java: Spring HATEOAS, RAML, Temenos IRIS
Web services101
Why Restful
RESTFul WebApp Concept
Managed Metadata - The Good, The Bad, and The Ugly
Annotation Tools (OA European Roll Out)
Designing CakePHP plugins for consuming APIs
The Rest Architectural Style
Introduction to RESTful Webservices in JAVA
Rest introduction
RESTful Web Service using Swagger
Creating Restful Web Services with restish
Developing RESTful WebServices using Jersey
Services in Drupal 8
REST - Representational State Transfer
Hypermedia APIs
Standards of rest api
The Glory of Rest
The glory of REST in Java: Spring HATEOAS, RAML, Temenos IRIS
Ad

Viewers also liked (20)

PPT
從個案故事看工程倫理
PDF
Emphasis Marketing Private Limited, Noida, Mens Casual Shoes & Formal Shoes
PDF
Progressive Health Care, Bengaluru, Nutritional Supplements
PDF
Krishna Grain Systems Pvt Ltd, Pune, Handling Systems
PPT
Biology Children\'s Book
PDF
Online Career Workshop Module 1 [Compatibility Mode]
PPT
Jesus Veio No Meio De NóS
PPS
Jornada Pamplona
PPT
Historical Fiction
PPT
usability matters expo
PPT
Presentacion Animales Final Sandra M
PPT
#3 PresentacióN.Doc
PPT
VISITA LABORATORIO
PPT
ODP
Nationalisme Maakt En Kraakt Staten
PPT
PPS
Medioambiente
PPT
плагиат
PPT
從個案故事看工程倫理
Emphasis Marketing Private Limited, Noida, Mens Casual Shoes & Formal Shoes
Progressive Health Care, Bengaluru, Nutritional Supplements
Krishna Grain Systems Pvt Ltd, Pune, Handling Systems
Biology Children\'s Book
Online Career Workshop Module 1 [Compatibility Mode]
Jesus Veio No Meio De NóS
Jornada Pamplona
Historical Fiction
usability matters expo
Presentacion Animales Final Sandra M
#3 PresentacióN.Doc
VISITA LABORATORIO
Nationalisme Maakt En Kraakt Staten
Medioambiente
плагиат
Ad

Similar to Poli 2.0 - APIs (20)

PDF
Network Device Database Management with REST using Jersey
KEY
A Conversation About REST
KEY
A Conversation About REST
KEY
APIs, Web Services, and Mashups: What they are and how they can be used
KEY
A Conversation About REST - Extended Version
PDF
Xamarin Workshop Noob to Master – Week 5
PPTX
Phalcon 2 High Performance APIs - DevWeekPOA 2015
PPT
Treinamento 1
PDF
REST API with CakePHP
ODP
SCDJWS 6. REST JAX-P
PPTX
Databasecentricapisonthecloudusingplsqlandnodejscon3153oow2016 160922021655
PPTX
A REST API (also called a RESTful API or RESTful web API) is an application p...
PDF
(ATS6-DEV03) Building an Enterprise Web Solution with AEP
PDF
Designing RESTful APIs
PPTX
Rest and Sling Resolution
PDF
ReSTful API Final
PPTX
Unit 2
ODP
DrupalCamp Kyiv 2011 Services
PPTX
Restful Fundamentals
PPTX
Restful Fundamentals
Network Device Database Management with REST using Jersey
A Conversation About REST
A Conversation About REST
APIs, Web Services, and Mashups: What they are and how they can be used
A Conversation About REST - Extended Version
Xamarin Workshop Noob to Master – Week 5
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Treinamento 1
REST API with CakePHP
SCDJWS 6. REST JAX-P
Databasecentricapisonthecloudusingplsqlandnodejscon3153oow2016 160922021655
A REST API (also called a RESTful API or RESTful web API) is an application p...
(ATS6-DEV03) Building an Enterprise Web Solution with AEP
Designing RESTful APIs
Rest and Sling Resolution
ReSTful API Final
Unit 2
DrupalCamp Kyiv 2011 Services
Restful Fundamentals
Restful Fundamentals

Recently uploaded (20)

PDF
Getting Started with Data Integration: FME Form 101
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
A Presentation on Artificial Intelligence
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Mushroom cultivation and it's methods.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
Zenith AI: Advanced Artificial Intelligence
Getting Started with Data Integration: FME Form 101
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
MIND Revenue Release Quarter 2 2025 Press Release
1 - Historical Antecedents, Social Consideration.pdf
Chapter 5: Probability Theory and Statistics
cloud_computing_Infrastucture_as_cloud_p
OMC Textile Division Presentation 2021.pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Group 1 Presentation -Planning and Decision Making .pptx
A Presentation on Artificial Intelligence
A comparative study of natural language inference in Swahili using monolingua...
Unlocking AI with Model Context Protocol (MCP)
Assigned Numbers - 2025 - Bluetooth® Document
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Enhancing emotion recognition model for a student engagement use case through...
Mushroom cultivation and it's methods.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Tartificialntelligence_presentation.pptx
Zenith AI: Advanced Artificial Intelligence

Poli 2.0 - APIs

  • 1.  
  • 3. “ An  application programming interface  ( API ) is a set of functions, procedures, methods or classes that an operating system, library or  service  provides to support requests made by computer programs. [1] ” “   Web services are frequently just  Web APIs  that can be accessed over a network, such as the Internet , and executed on a remote system hosting the requested services. ”
  • 4. Resources — Commands are defined in simple terms: resources to be retrieved, stored / get, set Nouns — Exchanging resources and concepts Commands — Commands are defined in methods with varying complexity: depending on “standard” Verbs — Exchanging methods RPC vs. REST
  • 5. RPC vs. REST http://example.com/users/ http://example.com/users/{user} http://example.com/findUserForm http://example.com/locations/ http://example.com/locations/{location} http://example.com/findLocationForm ... getUser() addUser() removeUser() updateUser() getLocation() addLocation() removeLocation() updateLocation() listUsers() listLocations() findLocation() findUser() ...
  • 6. Most web services use RESTful APIs! ... or at least “ accidently RESTful ”
  • 7. RSS Atom PHP ... JSON jsonFlickrApi({ &quot;stat&quot;: &quot;ok&quot;, &quot;blogs&quot;: { &quot;blog&quot;: [ { &quot;id&quot; : &quot;73&quot;, &quot;name&quot; : &quot;Bloxus test&quot;, &quot;needspassword&quot; : &quot;0&quot;, &quot;url&quot; : &quot;http://remote.bloxus.com/&quot; }, ] } }) XML <blogs> <blog id=&quot;73&quot; name=&quot;Bloxus test&quot; needspassword=&quot;0&quot; url=&quot;http://remote.bloxus.com/&quot; /> </blogs>
  • 9. http://api.uberVU.com ubervu.test.echo ubervu.conversations.track ubervu.conversations.getList ubervu.conversations.getReactions
  • 11. Exercise! Widget
  • 12.