gumfield manual
ServicesFlightsGoogle APIs for agents and terminals

Flights

Flights has 1 operations in gum's generated catalog. Start with search when you know the task, use describe to inspect request fields and scopes, then dispatch through the command that matches the operation risk class.

Count Value
Family Research and travel
Operations 1
Risk classes 1 read
Auth strategies 1 plugin_managed

Start here

bash
gum search "flights"
gum describe flights.search
gum read flights.search --args '{"origin":"<origin>","destination":"<destination>","departure_date":"<departure_date>"}' --output json

Auth

Auth strategies in this service: 1 plugin_managed. Authenticate the strategy used by the operation you plan to call.

Plugin-managed auth

  1. No Google OAuth client, API key, or service account is configured through gum for these operations.
  2. Confirm the plugin-backed operation is available:
bash
gum plugin list
gum describe flights.search
  1. Follow the plugin's upstream requirements, rate limits, and terms before calling it.
  2. Verify with a read call:
bash
gum read flights.search --args '{"origin":"<origin>","destination":"<destination>","departure_date":"<departure_date>"}' --output json

Operations

Operation Risk Auth Summary
flights.search read plugin_managed Search Google Flights itineraries via the bundled fli Shape 1 plugin.

Next