xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

API vs SDK All In One

API vs SDK All In One

API (Application Programming Interface) & SDK (Software Development Kit)

API (Application Programming Interface) and SDK (Software Development Kit) are essential tools in
the software development world, but they serve distinct purposes:

  1. API: An API is a set of rules and protocols that allows different software applications and services to communicate with each other.

  2. It defines how software components should interact.

  3. Facilitates data exchange and functionality access between software components.

  4. Typically consists of endpoints, requests, and responses.

  5. SDK: An SDK is a comprehensive package of tools, libraries, sample code, and documentation that
    assists developers in building applications for a particular platform, framework, or hardware.

  6. Offers higher-level abstractions, simplifying development for a specific platform.

  7. Tailored to specific platforms or frameworks, ensuring compatibility and optimal performance on that platform.

  8. Offer access to advanced features and capabilities specific to the platform, which might be otherwise challenging to implement from scratch.

The choice between APIs and SDKs depends on the development goals and requirements of the project.

Over to you:
Which do you find yourself gravitating towards – APIs or SDKs
Every implementation has a unique story to tell. What's yours?

demos

Web API

image

file:///Users/xgqfrms-mm/Downloads/Linkedin_Posts_2024_Blue.pdf

System Design PDFs (2024 Edition - Latest)

https://blog.bytebytego.com/p/free-system-design-pdf-158-pages

API Architecture Styles

image

(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!

Web APIs, which are used to reach web browsers and devices or as their own web services application.
SOAP APIs, which are a popular choice in cases of heightened data privacy and security.
Open APIs (or public APIs) and REST (or RESTful) APIs, which are a popular choice for ease of use and maximizing bandwidth.
JSON-RPC, a goto for cases where asynchronous server calls are needed.
Custom APIs, for maximum agility with all the moving parts of software development.

https://www.ibm.com/think/topics/api-vs-sdk

https://www.ibm.com/think/topics/rest-apis

Types of API

There are four types of API:

  1. Public API: Open and available for users outside of a business. They typically involve moderate authorization and authentication.

  2. Partner API: Mostly available for business-to-business data transfer with a secure network — for example, to share customer data outside a company. Business parties have the rights and license to access data with partner APIs. These APIs usually require stronger authentication and authorization.

  3. Private API: Also known as “internal API.” This is used as a secure way for information to be passed internally through the company. For example, it passes through the front end and back end of an organization.

  4. Composite API: Used for APIs that have more than one request. The requests are put into a sequence and sent together.

http://getstream.io/glossary/api-vs-sdk/

什么是 SDK 和 API?

SDK 为您提供了一个集成平台,使您可以高效地从头开始开发应用程序。它提供了缩短开发过程的构建基块
您可以使用 SDK,而不必从头开始编写代码。
SDK 通常由库、编译器、调试器、代码示例和文档组成。
集成式开发环境(IDE)是用于连接 SDK 中捆绑的所有工具的软件环境

另一方面,API 为您提供了将软件与先前存在的模块和第三方服务连接的方法。
它们促进了软件应用程序、其内部组件和其他平台之间的交互
API 将数据交换的复杂性抽象化,并且有助于确保软件组件之间通信中的数据完整性。

https://aws.amazon.com/cn/compare/the-difference-between-sdk-and-api/

refs

https://blog.bytebytego.com/p/ep133-api-vs-sdk

image

https://blog.bytebytego.com/?r=5g718t&utm_campaign=referrals-subscribe-page-share-screen&utm_medium=web



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2025-04-01 11:28  xgqfrms  阅读(10)  评论(3)    收藏  举报