For BE/B.Tech/BCA/MCA/ME/M.Tech Major/Minor Project for CS/IT branch at minimum price Text Message @ 9424820157

What is API?

  What is API?



In today's world of connectivity we have different applications runs on different devices.These applications exchange data from each other.



We can :

1. Place an order
2. Book online tickets
3. Compare shopping prices
etc..etc from any part of the world online via different applications.

But imagine how this become possible to exchange data from different applications securely and effectively.

This became possible by API or application programming interface.

If you read the bookish definition from internet or any book you may find it difficult to understand the term API. So lets make it simple by understanding an example :

Lets suppose you have visited to any restaurant and want to make an order.You will not directly go to kitchen for your order, you call a waiter and and waiter takes your order and puts it to the kitchen staff.



Same thing an API does, here like waiter API takes the request from user and calls the server. Server takes the request, process it and returns the responses.


common examples of APIs are like :

1. Google map API
2. Twitter API
3. Facebook API

Lets consider one more example to make the picture clear. Lets take an airline ticket booking system where different flights information is available. for example yatra.com or makemytrip.com



These websites do not connect directly to airline companies databases. Obviously nobody allow third party to connect their databases. So how these websites consumes data from jet airways,indigo,Indian airlines,etc......

simple by using their APIs.

Airline companies exposes their information in the form of APIs for exchanging information.The APIs are provided security mechanisms so that any malicious activity can not able to reach database.Suppose we need to take flight timing of jet airways so jet airways APIs gives that information. Similarly if need to find vacant seat information of indigo airlines, indigo application APIs provides the information.So in online travel systems data from different APIs are consumed and displayed there.

Hope you understood the term API....


Please go through below tutorials:


Mule 4 Tutorials

DEPLOY TO CLOUDHUB C4E CLIENT ID ENFORCEMENT CUSTOM POLICY RABBIT MQ INTEGRATION
XML TO JSON WEBSERVICE CONSUMER VM CONNECTOR VALIDATION UNTIL SUCCESSFUL
SUB FLOW SET & REMOVE VARIABLE TRANSACTION ID SCATTER GATHER ROUND ROBIN
CONSUME REST WEBSERVICE CRUD OPERATIONS PARSE TEMPLATE OBJECT TO JSON LOAD STATIC RESOURCE
JSON TO XML INVOKE IDEMPOTENT FILTER FOR EACH FLAT TO JSON
FIXWIDTH TO JSON FIRST SUCCESSFUL FILE OPERATIONS EXECUTE ERROR HANDLING
EMAIL FUNCTIONALITY DYNAMIC EVALUATE CUSTOM BUSINESS EVENT CSV TO JSON COPYBOOK TO JSON
CHOICE ASYNC

Widely used Connectors in Mule 3

CMIS JETTY VM CONNECTOR SALESFORCE POP3
JMS TCP/IP WEBSERVICE CONSUMER QUARTZ MONGO DB
FILE CONNECTOR DATABASE CONNECTOR


Widely used Scopes in Mule 3

SUB FLOW REQUEST REPLY PROCESSOR CHAIN FOR EACH CACHE
ASYNC TCP/IP COMPOSITE SOURCE POLL UNTIL SUCCESSFUL
TRANSACTIONAL FLOW

Widely used Components in Mule 3

EXPRESSION CXF SCRIPT RUBY PYTHON
JAVASCRIPT JAVA INVOKE CUSTOM BUSINESS EVENT GROOVY
ECHO LOGGER


Widely used Transformers in Mule 3

MONGO DB XSLT TRANSFORMER REFERENCE SCRIPT RUBY
PYTHON MESSAGE PROPERTIES JAVA TRANSFORMER GZIP COMPRESS/UNCOMPRESS GROOVY
EXPRESSION DOM TO XML STRING VALIDATION COMBINE COLLECTIONS BYTE ARRAY TO STRING
ATTACHMENT TRANSFORMER FILE TO STRING XML TO DOM APPEND STRING JAVASCRIPT
JSON TO JAVA COPYBOOK TO JSON MAP TO JSON JSON TO XML FLATFILE TO JSON
FIXWIDTH TO JSON CSV TO JSON


Widely used Filters in Mule 3

WILDCARD SCHEMA VALIDATION REGEX PAYLOAD OR
NOT MESSAGE PROPERTY MESSAGE IDEMPOTENT FILTER REFERNCE
EXPRESSION EXCEPTION CUSTOM AND


Exception Strategy in Mule 3

REFERENCE EXCEPTION STRATEGY CUSTOM EXCEPTION STRATEGY CHOICE EXCEPTION STRATEGY CATCH EXCEPTION STRATEGY GLOBAL EXCEPTION STRATEGY


Flow Control in Mule 3

CHOICE COLLECTION AGGREGATOR COLLECTION SPLITTER CUSTOM AGGREGATOR FIRST SUCCESSFUL
MESSAGE CHUNK AGGREGATOR MESSAGE CHUNK SPLITTER RESEQUENCER ROUND ROBIN SOAP ROUTER