

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
