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 . Directions . GetBicyclingDirections
Generate biking directions between two locations, denoted by address 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 generates biking directions between two locations, denoted by address, or latitude/longitude coordinates. Go here for more information on this API method.
Here's an example of input set:
APIKEY: {YOUR API KEY}
Destination: 1600 Amphitheatre Parkway, Mountain View, CA
Origin: 1800 Amphitheatre Parkway, Mountain View, CA
Here's an example of the JSON returned by this Choreo:
{ "routes": [ { "bounds": { "northeast": { "lat": 40.71774000000001, "lng": -73.96049000000001 }, "southwest": { "lat": 40.71040000000001, "lng": -74.00303000000001 } }, "copyrights": "Map data ©2012 Google", "legs": [ { "distance": { "text": "3.5 mi", "value": 5592 }, "duration": { "text": "21 mins", "value": 1267 }, "end_address": "120 Metropolitan Ave, Brooklyn, NY 11211, USA", "end_location": { "lat": 40.7163, "lng": -73.96256000000001 }, "start_address": "12 Franklin St, New York, NY 10013, USA", "start_location": { "lat": 40.71681000000001, "lng": -74.00225 }, "steps": [ { "distance": { "text": "56 ft", "value": 17 }, "duration": { "text": "1 min", "value": 2 }, "end_location": { "lat": 40.71673000000001, "lng": -74.00208 }, "html_instructions": "Head <b>southeast</b> on <b>Franklin St</b> toward <b>Lafayette St</b>", "polyline": { "points": "aoowF`qtbMNa@" }, "start_location": { "lat": 40.71681000000001, "lng": -74.00225 }, "travel_mode": "BICYCLING" }, { "distance": { "text": "223 ft", "value": 68 }, "duration": { "text": "1 min", "value": 40 }, "end_location": { "lat": 40.7163, "lng": -73.96256000000001 }, "html_instructions": "Turn <b>left</b> onto <b>Metropolitan Ave</b><div style=\"font-size:0.9em\">Destination will be on the left</div>", "polyline": { "points": "qiowF~tlbMiA~B" }, "start_location": { "lat": 40.71593, "lng": -73.96192 }, "travel_mode": "BICYCLING" } ], "via_waypoint": [] } ], "overview_polyline": { "points": "aoowF`qtbMNa@pB~ApB|AtF}NtAyDtAqDTYd@u@rAvATVJJzCc@o@}Iy@mSCi@MwDu@gUc@yKwGh@w@BsAGsAY}@]s@_@mDaB_C{@_@MOGtAeGjA{Fj@uCv@sD`CgLt@oD?UNq@zA{HBOPw@tE}TnCcNnCgN@KNu@F]?U?UDi@j@aDdDcPrCkNAKKOiBeAeAxDkBrHqBjHqGkD_G_D{AgBgAgAiA~B" }, "summary": "Williamsburg Bridge", "warnings": [ "Bicycling directions are in beta. Use caution – This route may contain streets that aren't suited for bicycling." ], "waypoint_order": [] } ], "status": "OK" }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms