travelimpactmodel/v1 library
Travel Impact Model API - v1
Travel Impact Model API lets you query travel carbon emission estimates.
For more information, see developers.google.com/travel/impact-model
Create an instance of TravelImpactModelApi to access these resources:
Classes
- ComputeFlightEmissionsRequest
- Input definition for the ComputeFlightEmissions request.
- ComputeFlightEmissionsResponse
- Output definition for the ComputeFlightEmissions response.
- EmissionsGramsPerPax
- Grouped emissions per seating class results.
- Flight
- All details related to a single request item for a direct flight emission estimates.
- FlightsResource
- FlightWithEmissions
- Direct flight with emission estimates.
- ModelVersion
- Travel Impact Model version.
- TravelImpactModelApi
- Travel Impact Model API lets you query travel carbon emission estimates.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.