Does anyone know an API that allows you to get travel time based on traffic?
Google has only added traffic data, but I cannot find how to access it through their API. http://www.autoblog.com/2012/04/03/google-maps-regains-ability-to-estimate-your-trip-duration-with/#aol-comments
It seems that Yahoo did offer it, but they are downgrading their ministry. http://developer.yahoo.com/traffic/rest/V1/index.html
I know that this question has been asked in the past, but I wanted to ask again if there were new opportunities.
"", ( ).
Google Directions API
API " ".
, , Google ( ).
, - API
( ), GTFS-realtime. , . GTFS-realtime.
Google . ( Google, ) .
, , , , / , , Chrome, .
Look at the documentation for the Google Javascript API and the web service API , there is no indication that traffic can be included in the route (for now). You may be out of luck.
It looks like this can be accomplished using the Directions Matrix APIs. Unfortunately, this also requires a business account.
https://developers.google.com/maps/documentation/javascript/distancematrix