You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Google . DistanceMatrix . DrivingDistanceMatrix
Obtain travel distances and times for a matrix of addresses and/or latitude/longitude coordinates.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo gets travel distances and times for a matrix of addresses and/or latitude/longitude coordinates. Go here for more information on this API method.
Here's an examle input set:
APIKey: {YOUR API KEY}
Origins: Boston, MA|New Haven|40.7160,-74.0037
Destinations: Boston, MA|New Haven|40.7160,-74.0037
Here's an example of the JSON returned by this Choreo:
{ "destination_addresses" : [ "New York, NY, USA" ], "origin_addresses" : [ "Boston, MA, USA", "Albany, NY, USA" ], "rows" : [ { "elements" : [ { "distance" : { "text" : "361 km", "value" : 361415 }, "duration" : { "text" : "4 hours 2 mins", "value" : 14514 }, "status" : "OK" } ] }, { "elements" : [ { "distance" : { "text" : "247 km", "value" : 247491 }, "duration" : { "text" : "2 hours 56 mins", "value" : 10540 }, "status" : "OK" } ] } ], "status" : "OK" }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms