Google Meet SDK 和 API 概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Google Meet SDK 和 API 可让开发者与 Meet 进行交互。您可以通过编程将 Meet 集成到您的产品中,也可以在 Meet 中使用您的产品。
Meet SDK 和 API
您可以通过多种方式实现 Google Meet 解决方案并与其集成:
下图可帮助您为要解决的问题选择正确的端点:

SDK 和 API 有何区别?
SDK 和 API 是您在为 Meet 开发时可以使用的两种工具。从本质上讲,SDK 和 API 具有类似的特征,可让您增强应用的功能。
SDK
软件开发套件 (SDK) 是用于在特定平台、操作系统或编程语言上构建软件的工具。SDK 通常包含编译器、代码库、调试程序、文档、教程、代码示例,以及至少一个 API 库,以便于进行通信。
SDK 具有以下几项优势:
- 它们包含开发者构建和运行软件所需的一切内容,让软件能够以标准化的方式构建。
- 缩短开发周期,因为 SDK 包含用于应用开发的预构建组件和库。
- 包含文档和教程等内置信息,可供开发者构建、测试和部署应用。
- 通过缩短应用开发时间和减少资源来控制成本。
API
应用编程接口 (API) 允许开发者基于 API 中提供的服务进行构建,从而帮助两个平台之间进行通信。该 API 可在 SDK 中或独立使用,使用预先确定的协议来指定应如何交换数据。API 抽象化了连接到服务的复杂性,以实现应用之间的集成。
API 通常由以下部分组成:
- 接口:Web API 或 Web 服务 API(这是 Web 服务器和 Web 浏览器之间的应用处理接口,可通过关键字直接访问)或 REST API(这是一种无状态接口,用于通过 GET、PATCH、DELETE 等 HTTP 函数间接访问纯数据)。
- 技术参考文档:介绍如何使用 API 的参考规范和指南文档。
API 具有以下几项优势:
- 集成不同的软件系统,打造更出色的产品。
- 重复使用现有代码库会增加开发时间。
- 您可以在 API 级别应用更新,而无需重新部署所有代码。
- 鼓励新用户发现您的产品,从而增加业务机会。
选择 SDK 或 API
SDK 和 API 可提高软件开发流程的效率,并促进协作。虽然 SDK 通常包含 API,但这两种工具可以协同工作。
请查看下表,了解何时使用每种工具:
|
SDK |
API |
说明 |
用于在特定平台、操作系统或编程语言上构建软件的工具包。 |
有助于两个平台之间的通信。 |
运作方式 |
请先安装,然后再开发应用。 |
获取 API 密钥以发出 API 请求。 |
功能 |
创建应用或 API。 |
扩展应用功能,以连接到现有系统。 |
用例 |
当您需要使用平台专用工具更快地编写代码时。 |
当您想要基于其他开发者编写的功能进行构建时。 |
平台 |
因语言和平台而异。 |
跨平台通信。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-01。
[null,null,["最后更新时间 (UTC):2025-08-01。"],[],[],null,["# Google Meet SDK and API overview\n\nThe Google Meet SDK and API empower developers to interact with\nMeet. You can programmatically integrate Meet into\nyour product or use your product in Meet.\n\nMeet SDKs and APIs\n------------------\n\nThere are several ways to implement solutions for and integrate with\nGoogle Meet:\n\n- [Google Meet add-ons SDK for Web](/workspace/meet/add-ons/guides/overview): Embed your\n app into Meet as an add-on where\n users can discover, share, and collaborate in the app without leaving\n Meet. You can also synchronize content in real-time and\n provide shared controls for users to use from your app.\n\n- [Google Meet REST API](/workspace/meet/api/guides/overview): Create and manage meetings within\n your app, and retrieve data from a conference.\n\n- [Google Meet Media API](/workspace/meet/media-api/guides/overview) (Developer Preview):\n Access raw audio and video streams during a meeting in Meet.\n\nThe following diagram helps you choose the correct endpoint for the problem\nyou're trying to solve:\n\nWhat's the difference between an SDK and API?\n---------------------------------------------\n\nThe SDK and API are two tools that you can use when developing for\nMeet. Essentially, an SDK and API share similar traits and they\nlet you increase your app's capabilities.\n\n### SDK\n\nA software development kit (SDK) are tools to build software on a specific\nplatform, operating system, or programming language. An SDK often includes\ncompilers, code libraries, debuggers, documentation, tutorials, code samples,\nand at least one API library to facilitate communication.\n\nSDKs provide several benefits:\n\n- They include everything developers need to build and run software, allowing software to be constructed in a standardized way.\n- Creates faster development cycles as the SDK includes prebuilt components and libraries that allow for app development.\n- Contains built-in information such as documentation and tutorials allowing developers to build, test, and deploy apps.\n- Controls costs by reducing app development time and resources.\n\n### API\n\nAn application programming interface (API) aids communication between two\nplatforms by allowing developers to build upon the service offered in the API.\nThe API, either within an SDK or as standalone, uses predetermined protocols to\nspecify how data should be exchanged. APIs abstract away the complexities of\nconnecting to services to make integrations between apps possible.\n\nAn API usually consists of the following:\n\n- The interface: Either a Web API or Web Service API (which is an application processing interface between a web server and web browser accessed directly through a keyword) or a REST API (which is a stateless interface used to indirectly access plain data through HTTP functions like GET, PATCH, DELETE).\n- Technical references and documentation: The reference specifications and guide documentation that explains how to use the API.\n\nAPIs provide several benefits:\n\n- Integration of different software systems for stronger products.\n- Increased development time as you reuse your existing codebase.\n- Updates can be applied at the API level instead of redeploying all the code.\n- Encourages new users to discover your products which can increase business opportunities.\n\n### Choose between an SDK and API\n\nSDKs and APIs make the software development process more efficient and\ncollaborative. While an SDK often includes an API, both tools can work together.\n\nReview the following table on when to use each tool:\n\n| | SDK | API |\n|------------------|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------|\n| **Description** | Toolkit to build software on a specific platform, operating system, or programming language. | Aids communication between two platforms. |\n| **How it works** | Install before developing your app. | Obtain API key to make API requests. |\n| **Function** | Create apps or APIs. | Expand the capabilities of your apps to connect with existing systems. |\n| **Use case** | When you need platform-specific tools to write code faster. | When you want to build on capabilities written by another developer. |\n| **Platform** | Language and platform specific. | Cross-platform communication. |"]]