class TravelImpactModel extends Service (View source)

Service definition for TravelImpactModel (v1).

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

For more information about this service, see the API Documentation

Properties

$flights
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the TravelImpactModel service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the TravelImpactModel service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.