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&destinationto to denote the starting and end locations of the tripmodeset to “car” to get a route which a car can takedeparture_timeparameter set with the timestamp when the trip is to be madeoptionset to “flexible”