Home  >  Article  >  What is the difference between sdk and api?

What is the difference between sdk and api?

青灯夜游
青灯夜游Original
2020-04-27 15:05:1218071browse

What is the difference between SDK and API? The following article will introduce to you the difference between SDK and API. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

What is the difference between sdk and api?

SDK (Software Development Kit) translates into Chinese as "software development tool set". The toolbox is a tool set used to develop applications for a product or platform. , provided by product manufacturers for developers to use. It is usually a tool set released by a certain manufacturer for a certain platform or system or hardware to develop applications. This tool kit may include a variety of development tools, such as simulators and other IOS platforms. XCode is a series of tools put together. For example, when you type code in the editor, it will automatically complete the code and automatically check errors. When you click Run, it will call the compiler to automatically compile. After compilation, it will call To run the iPhone simulator, this is the SDK, which provides a complete set of development tools for developers to use.

API (Application Programming Interface) is translated into Chinese as "Application Programming Interface". For example: If I want to add the Google Map web page function to my web page, I will use the "Google Map API". Sometimes the SDK (Developer Tool Kit) also has many APIs that are used to call functions provided by some system platform programs, such as: window display, graphic effects, etc.

The difference between sdk and api

1. Different compositions:

sdk software development tools include, in a broad sense, related tools that assist in the development of a certain type of software A collection of documentation, examples, and tools. API (Application Programming Interface) is a set of predefined functions, or a convention for connecting different components of a software system.

2. Different uses:

The purpose of API is to provide applications and developers with the ability to access a set of routines based on certain software or hardware without having to access the source code or understand the inner workings. Details of the mechanism. Software development kits are generally development tools used by software engineers to create application software for specific software packages, software frameworks, hardware platforms, operating systems, etc.

What is the difference between sdk and api?

3. Different contents:

In order to use the API function, there must be .h and .lib files corresponding to the API, and the SDK is Provides a complete set of related files, examples and tools needed to develop Windows applications "toolkit". The SDK contains the necessary information for using the API, so the development method of writing Windows applications using only the API is often called "SDK programming".

For more related knowledge, please pay attention to PHP Chinese website! !

The above is the detailed content of What is the difference between sdk and api?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn