Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/travelimpactmodel:v1.ts";

§Classes

GoogleAuth
TravelImpactModel

Travel Impact Model API lets you query travel carbon emission estimates.

§Variables

auth

§Interfaces

ComputeFlightEmissionsRequest

Input definition for the ComputeFlightEmissions request.

ComputeFlightEmissionsResponse

Output definition for the ComputeFlightEmissions response.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp

EmissionsGramsPerPax

Grouped emissions per seating class results.

Flight

All details related to a single request item for a direct flight emission estimates.

FlightWithEmissions

Direct flight with emission estimates.

ModelVersion

Travel Impact Model version. For more information about the model versioning see https://github.com/google/travel-impact-model/#versioning.