Get travel time between points (via walking, cycling, car).
Connect to the Mapbox Directions API to get driving, walking, and cycling routes and directions. Test an API call in your browser and export the code snippet.
The Mapbox API has free and paid plans as of 03/08/2017: https://www.mapbox.com/pricing/