+ All Categories
Home > Software > Api types

Api types

Date post: 27-Aug-2014
Category:
Upload: sarah-maddox
View: 393 times
Download: 1 times
Share this document with a friend
Description:
What is an API, and what types of API are there?
11
API types A classification of Application Programming Interfaces Sarah Maddox, technical writer http://goo.gl/tTqyne
Transcript
Page 1: Api types

API typesA classification of Application Programming Interfaces

Sarah Maddox, technical writerhttp://goo.gl/tTqyne

Page 2: Api types

API Types, by Sarah Maddox

What is an API?

Application Programming Interface (API)A means of communication

○ App to app○ Automated

A description of the communication methods allowed○ Requesting information○ Sending information○ Updating information

The mechanisms supporting those interactions

Page 3: Api types

API Types, by Sarah Maddox

What is an API?

Usually not UI○ Software-to-software interaction, not user interaction○ May provide a UI widget

“Components” rather than “apps”?○ Yes, that’s more precise○ But “app” is good for most purposes

“APIs” = features within an API?○ No, although fairly common usage ○ Those are classes, methods, endpoints, etc

Page 4: Api types

API Types, by Sarah Maddox

A simple classification of APIsWeb service APIs

SOAPXML-RPC and JSON-RPCREST

WebSocket APIs

Library-based APIsJavaScriptTWAIN

Class-based APIs (object orientation)Java APIAndroid API

OS functions and routinesAccess to file systemAccess to user interface

Object remoting APIsCORBA.NET Remoting

Hardware APIsVideo accelerationHard disk drivesPCI buses

Page 5: Api types

API Types, by Sarah Maddox

Web service APIs

FlickrGoogle Static MapsGoogle GeolocationAnd many many more

Page 6: Api types

API Types, by Sarah Maddox

WebSockets

ServerWeb browser

Page 7: Api types

API Types, by Sarah Maddox

Library-based APIs

Google Maps JavaScript APIDropbox JavaScript Datastore APITwilio APIs - lots of themTWAIN - for scanners and camerasOracle Call Interface (OCI)

Page 8: Api types

API Types, by Sarah Maddox

Class-based APIs

Java APIAndroid APIGoogle Maps Android APIMSDN Class Library for .NET FrameworkTwilio APIs for Java and C#

Page 9: Api types

API Types, by Sarah Maddox

A simple classificationOS functions and routines

Access to file systemAccess to user interface

Object remoting APIsCORBA.NET Remoting

Hardware APIsVideo accelerationHard disk drivesPCI buses

Web service APIsSOAPXML-RPC and JSON-RPCREST

WebSocket APIs

Library-based APIsJavaScriptTWAIN

Class-based APIs (object orientation)Java APIAndroid API

Page 10: Api types

API Types, by Sarah Maddox

Blog post with details and comments

http://goo.gl/tTqyne

Long link:http://ffeathers.wordpress.com/2014/02/16/api-types

Page 11: Api types

API Types, by Sarah Maddox

Twitter @sarahmaddox

Google+ +sarahmaddox

Slideshare sarahmaddoxBlog ffeathers.wordpress.com

Contacting me


Recommended