API = Application Programming Interface
SDK = Software Development Kit
What is API?
API is an interface that allows software programs to interact with each other.
It defines a set of rules that should be followed by the programs to communicate with each other.
There are general APIs that provide library functionalities of a programming language such as the Java API.
There are also language dependent APIs, which could only be used by a specific programming language.
Eg:
Java API
Google Map API
Flash Player API
What is SDK?
SDK is a set of tools that can be used to develop software applications targeting a specific platform.
SDKs include tools, libraries, documentation and sample code that would help a programmer to develop an application.
Some widely used SDKs are Java SDK (JDK) that includes all the libraries, debugging utilities, etc., which would make writing programs much easier in Java.
SDKs make the life of a software developer easy.
Eg:
JDK
GWT
Flex SDK
SDK is a set of tools that can be used to develop software applications targeting a specific platform.
SDKs include tools, libraries, documentation and sample code that would help a programmer to develop an application.
Some widely used SDKs are Java SDK (JDK) that includes all the libraries, debugging utilities, etc., which would make writing programs much easier in Java.
SDKs make the life of a software developer easy.
Eg:
JDK
GWT
Flex SDK
What is the difference between API and SDK?
API is an interface that allows software programs to interact with each other, whereas a SDK is a set of tools that can be used to develop software applications targeting a specific platform.
The simplest version of a SDK could be an API that contains some files required to interact with a specific programming language.
API can be seen as a simple SDK without all the debugging support.

Comments
Post a Comment