Google Super

GOOGLESUPER_DISTANCE_MATRIX_API

DEPRECATED: Legacy API that calculates travel distance and time for a matrix of origins and destinations. This API only works with API keys (no OAuth2 support). Use the modern 'Compute Route Matrix' action instead, which supports OAuth2 authentication. Supports different modes of transportation and options like departure/arrival times.

Remote googlesuper

Other tools also called GOOGLESUPER_DISTANCE_MATRIX_API? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "title": "Key",
      "default": null,
      "examples": [
        "YOUR_API_KEY"
      ],
      "nullable": true,
      "description": "Your application's API key. This key identifies your application for purposes of quota management."
    },
    "mode": {
      "enum": [
        "driving",
        "walking",
        "bicycling",
        "transit"
      ],
      "type": "string",
      "title": "Mode",
      "default": "driving",
      "examples": [
        "driving"
      ],
      "nullable": true,
      "description": "Specifies the mode of transport to use."
    },
    "avoid": {
      "enum": [
        "tolls",
        "highways",
        "ferries",
        "indoor"
      ],
      "type": "string",
      "title": "Avoid",
      "default": null,
      "examples": [
        "tolls"
      ],
      "nullable": true,
      "description": "Indicates that the calculated route should avoid the specified features. Multiple values can be pipe-separated e.g. 'tolls|highways'."
    },
    "units": {
      "enum": [
        "metric",
        "imperial"
      ],
      "type": "string",
      "title": "Units",
      "default": null,
      "examples": [
        "imperial"
      ],
      "nullable": true,
      "description": "Specifies the unit system to use when displaying results. The default is metric."
    },
    "region": {
      "type": "string",
      "title": "Region",
      "default": null,
      "examples": [
        "us",
        "uk"
      ],
      "nullable": true,
      "description": "The region code, specified as a ccTLD ('top-level domain') two-character value. This helps influence results based on the region."
    },
    "origins": {
      "type": "string",
      "title": "Origins",
      "examples": [
        "Washington, DC|New York City, NY",
        "place_id:ChIJ69P_A4EBwokR7sD2pE2A|enc:gfo}EtohhU:"
      ],
      "description": "The starting point for calculating travel distance and time. You can supply one or more locations separated by the pipe character (|), in the form of a place ID (prefixed with place_id:), an address, latitude/longitude coordinates (e.g., '40.7128,-74.0060'), a plus code, or an encoded polyline (prefixed with enc: and a colon)."
    },
    "language": {
      "type": "string",
      "title": "Language",
      "default": null,
      "examples": [
        "en-US",
        "fr-FR"
      ],
      "nullable": true,
      "description": "The language in which to return results. See the list of supported languages: https://developers.google.com/maps/faq#languagesupport"
    },
    "arrival_time": {
      "type": "integer",
      "title": "Arrival Time",
      "default": null,
      "examples": [
        1493890000
      ],
      "nullable": true,
      "description": "Specifies the desired time of arrival for transit directions, in seconds since midnight, January 1, 1970 UTC. You can specify either departure_time or arrival_time, but not both."
    },
    "destinations": {
      "type": "string",
      "title": "Destinations",
      "examples": [
        "San Francisco, CA|Victoria, BC",
        "40.659569,-73.933783|place_id:ChIJ3S-JXmauEmsRUcIaWtf4MzE"
      ],
      "description": "One or more locations to use as the finishing point for calculating travel distance and time. Accepts the same formats as origins."
    },
    "transit_mode": {
      "enum": [
        "bus",
        "subway",
        "train",
        "tram",
        "rail"
      ],
      "type": "string",
      "title": "Transit Mode",
      "default": null,
      "examples": [
        "bus"
      ],
      "nullable": true,
      "description": "Specifies one or more preferred modes of transit. This parameter may only be specified for transit directions. Multiple values can be pipe-separated e.g. 'bus|train'."
    },
    "traffic_model": {
      "enum": [
        "best_guess",
        "pessimistic",
        "optimistic"
      ],
      "type": "string",
      "title": "Traffic Model",
      "default": null,
      "examples": [
        "best_guess"
      ],
      "nullable": true,
      "description": "Specifies the assumptions to use when calculating time in traffic. This parameter is only used if the request includes a departure_time and mode is 'driving'."
    },
    "departure_time": {
      "type": "integer",
      "title": "Departure Time",
      "default": null,
      "examples": [
        1493879400,
        "now"
      ],
      "nullable": true,
      "description": "Specifies the desired time of departure. You can specify the time as an integer in seconds since midnight, January 1, 1970 UTC, or as the string 'now'. Required for duration_in_traffic."
    },
    "transit_routing_preference": {
      "enum": [
        "less_walking",
        "fewer_transfers"
      ],
      "type": "string",
      "title": "Transit Routing Preference",
      "default": null,
      "examples": [
        "less_walking"
      ],
      "nullable": true,
      "description": "Specifies preferences for transit routes. This parameter may only be specified for transit directions."
    }
  }
}