Travel Impact Model API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
借助 Travel Impact Model API,您可以查询旅行碳排放量预估值。
服务:travelimpactmodel.googleapis.com
如要调用此服务,我们建议您使用 Google 提供的客户端库。如果您的应用需要使用您自己的库来调用此服务,则在发出 API 请求时应使用以下信息。
发现文档
发现文档是用于说明和使用 REST API 的机器可读规范。它用于构建客户端库、IDE 插件以及与 Google API 交互的其他工具。一项服务可能会提供多个发现文档。此服务提供了以下发现文档:
服务端点
服务端点是指定 API 服务的网络地址的基本网址。一项服务可能有多个服务端点。此服务具有以下服务端点,下面的所有 URI 都与此服务端点相关:
https://travelimpactmodel.googleapis.com
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","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-07-25。"],[[["The Travel Impact Model API provides estimates of carbon emissions for flights."],["You can query the API using REST and the `v1.flights` resource."],["Google-provided client libraries are recommended for interacting with the API."],["Alternatively, you can use the provided discovery document and service endpoint for custom integration."],["Emission estimates can be retrieved using the `computeFlightEmissions` method."]]],["The Travel Impact Model API, accessible via `travelimpactmodel.googleapis.com`, provides travel carbon emission estimates. It uses a REST resource `v1.flights` with a `computeFlightEmissions` method. This stateless method, called via `POST /v1/flights:computeFlightEmissions`, retrieves emission estimates. A Discovery Document, available at `\u003chttps://travelimpactmodel.googleapis.com/$discovery/rest?version=v1\u003e`, provides a machine-readable API specification. The base service endpoint is `https://travelimpactmodel.googleapis.com`. Client libraries are recommended for accessing this service.\n"]]