Plan a future trip
Implement Using: Directions Flexible API
To plan a trip in the future we configure the departure_time
parameter of the Directions Flexible API along with other constraints. Providing a departure_time
allows the service to consider the general traffic conditions at the given time and provide the best route and ETAs accordingly. To configure this request, we provide:
origin
&destination
to to denote the starting and end locations of the tripmode
set to “car” to get a route which a car can takedeparture_time
parameter set with the timestamp when the trip is to be madeoption
set to “flexible”