GET

https://www.googleapis.com/maps/api/directions/json

The Directions API is a web service that uses an HTTP request to return JSON or XML-formatted directions between locations. You can receive directions for several modes of transportation, such as transit, driving, walking, or cycling.

key
string
required
origin
string
required
destination
string
required
arrival_time
number
departure_time
number
alternatives
boolean
Enter value
avoid
string
units
string
metric
waypoints
string
language
string
en
mode
string
Select value
region
string
en
traffic_model
string
best_guess
transit_mode
string
transit_routing_preference
string
less_walking