
Options you can supply, such as travel modes, waypoints, and See the example requests and learn about the available Once you have an API key and a cloud project you try out See required parametersĭetailed directions, broken into routes, legs, and steps. Supply origins and destinations in the form of place IDs, addresses, The following table summarizes the resources available through theĭirections API along with the data it returns. The following example request returns driving directions from Toronto, Ontario to Montreal, Quebec in JSON format:

When determining the most efficient route: The product factors in the following travel elements The Directions API returns the most efficient routes whenĬalculating directions. Text strings (for example, "Chicago, IL" or "Darwin, NT, Australia"), place

With the Directions API, you can get directions for several modes of JSON or XML-formatted directions between locations.

The Directions API is a service that accepts an HTTP request and returns
