Computes a route between an ordered set of waypoints for a chosen travel mode, returning total distance and time, the route geometry, and optional turn-by-turn legs.
waypoints is a pipe-separated list of "lat,lon" pairs (2 or more), e.g. "48.85,2.29|48.86,2.34". Choose mode (drive, walk, bicycle, truck). Set units to metric or imperial. The geometry comes back as GeoJSON.
2-letter language code for turn instructions (e.g. "en").
Travel mode.
Distance units.
Optional extra detail, e.g. "instruction_details".
Pipe-separated "lat,lon" waypoints (2 or more), e.g. "48.85,2.29|48.86,2.34".