Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the concept of API and SDK

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "what is the concept of API and SDK". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. API:Application Programming Interface, application programming interface

Let's start with an encyclopedia introduction to the ke (yi) tiao (guo):

API (Application Programming Interface, application program interface) is a predefined function, or a convention for the convergence of different components of a software system. Used to provide a set of routines that applications and developers can access based on some software or hardware without having to access the source code or understand the details of the internal working mechanism.

Let's illustrate it with a few examples:

For example A:

In the case of Howard's "interspace kissing machine" prototype, suppose we hand over the APP side to the supplier, then if the supplier wants to get the data in the device, he or she needs us to provide an API that the supplier can access directly without knowing the structure of the device. The pink frame is API~.

For example B:

Let me give you an example from life. Your man / girlfriend bought you a cup of milk tea (Chilled Mango Sago Cream with Pomelo is recommended here, it's delicious), so you can drink it with a straw in order to drink the drink (although you don't know what's in it). This straw is API.

For example C:

Imagine you need to boil water at home. Then your steps to boil water are as follows:

The kettle is full of water

Plug in

Press the water boil switch

Wait for the water to boil.

In the above process, API even if your home Jack, as long as you plug into the kettle, you can use the electricity provided by the power station (if there is any error, please advise).

OK, through the above three examples, I guess you should have some understanding of API. The application of API can be seen everywhere in daily life. Welcome to give a few more examples below.

So in the Internet of things, next, let's introduce SDK.

2. SDK:Software Development Kit, Software Development Kit

Ke (yi) tiao (guo):

Software development kit is a collection of development tools used by software engineers to create application software for specific software packages, software frameworks, hardware platforms, operating systems, and so on. Generally speaking, SDK is the SDK used to develop applications under the Windows platform. It can simply provide some files of application program interface API for a programming language, but it may also include complex hardware that can communicate with some embedded system. General tools include utilities for debugging and other purposes. SDK also often includes sample code, supporting technical notes, or other supporting documentation that clarifies questions for basic references.

Let's give another example.

For example A:

Suppose we already have an App in the kissing machine. In order to obtain the location information of a user, a map application is built into App, so couples will have the following three processes every time they open APP:

Couple A turns on the "spaced kissing machine" App

"interspace kissing machine" App awakens built-in map application

Map application feedback the user's geographical location information

Couples can see each other's location.

In the above process, the mapping app built into the "spaced kissing machine" App is what we call SDK.

SDK is easy to understand, so let's not give so many examples to illustrate. If you have a more easy-to-understand example, you can leave a message below.

III. The relationship between API and SDK

API and SDK play a very important role in an end-to-end development. Similarly, let's use an example to illustrate their relationship.

This time we will not use our kissing machine as an example, take Lego as an example:

API: "particles" of Lego bricks (used to connect two Lego bricks)

SDK: a big bag of Lego blocks with all kinds of gadgets in it

Through API and SDK, you can complete a complete Lego!

This is the end of the introduction of "what is the concept of API and SDK". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report