Google Contrails API 使用入门
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
API 访问权限
Contrails API 是公开的,并免费提供。访问 Contrails API 需要 API 密钥并启用 Contrails API。
拥有 API 密钥并启用 Contrails API 后,您可以通过运行示例代码或 Colab 来验证 API 访问权限。
API 密钥
如果您使用 Google Cloud 或其他 Google Developers 服务,可以使用这些现有的 API 密钥,也可以创建新密钥。
如果您没有任何 Google API 密钥,则需要:
- 创建 Google Cloud 账号
- 创建 API 密钥
启用 Contrails API
前往“API 和服务”页面,然后按照这些instructions启用 Contrails API。
参考
如需查询 Contrails API 的特定资源类型或方法,请参阅资源摘要。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-05-08。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-05-08。"],[[["Accessing the Contrails API is free and requires an API key and enabling the API through Google Cloud Platform."],["Users with existing Google Cloud or Developer service API keys can use those, while new users need to create a Google Cloud account and generate an API key."],["Enabling the Contrails API involves navigating to the APIs & Services page in the Google Cloud Console and following the provided instructions."],["API access can be verified by running provided sample code or using a Google Colab notebook."],["The Contrails API documentation, including resource types and methods, is available in the Resource Summary section."]]],[]]