Link to home
Start Free TrialLog in
Avatar of LJG

asked on

How to get google map api "typical minutes"

Talking about Google Map API & XML

My Question:

How do I get "Typical Minutes" (a range of minutes) from two addresses for a future date and time using the below Google Map APIs?

What can be done using a browser instead of Google Map APIs 

If I go to a browser and got to   and enter two addresses eg

123 Main St, Kansas City, MO 6415 

123 E Main St, Gardner, KS 66030

You get directions and Travel time in minutes (I'm interested in Travel Time in minutes)

But if I change "Leave Now" to "Depart at" change the time to tomorrow at 4:30 PM I get a range "Typically 35-55 Minutes"

I use two different APIs
with the above you can get minutes

<duration>                   = 33

<duration_in_traffic> = 34

But from the browser you you would get between 35-55 minutes

Any ideas are greatly appreciated

Larry G

Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

The API's give you the current average travel time.  Travel time depends upon road condition, congestion, distance etc
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial