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 . Fitbit . Foods . GetFood
Gets the details of a specific food in the Fitbit food database.
/*
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 uses your OAuth credentials to authenticate your account with Fitbit, and retrieves the details of a specific food in the Fitbit food database.. The documentation for this Fitbit resource can be found here.
Here's an example list of acceptable inputs:
AccessToken: {YOUR FITBIT ACCESS TOKEN}
FoodID: 12323
The following is a sample of the JSON information returned by this Choreo:
{ "food": { "accessLevel": "PUBLIC", "brand": "Philadelphia Brand", "calories": 60, "defaultServingSize": 2, "defaultUnit": { "id": 349, "name": "tbsp", "plural": "tbsp" }, "foodId": 12323, "locale": "en_US", "name": "Cream Cheese, Ranch, Whipped", "servings": [ { "multiplier": 1, "servingSize": 2, "unit": { "id": 349, "name": "tbsp", "plural": "tbsp" }, "unitId": 349 }, { "multiplier": 0.1666666716337204, "servingSize": 1, "unit": { "id": 364, "name": "tsp", "plural": "tsp" }, "unitId": 364 }, { "multiplier": 1, "servingSize": 0.7400000095367432, "unit": { "id": 226, "name": "oz", "plural": "oz" }, "unitId": 226 }, { "multiplier": 21.62162208557129, "servingSize": 1, "unit": { "id": 180, "name": "lb", "plural": "lbs" }, "unitId": 180 }, { "multiplier": 0.04766751453280449, "servingSize": 1, "unit": { "id": 147, "name": "gram", "plural": "grams" }, "unitId": 147 }, { "multiplier": 47.66751480102539, "servingSize": 1, "unit": { "id": 389, "name": "kg", "plural": "kg" }, "unitId": 389 } ], "units": [ 349, 364, 226, 180, 147, 389 ] } }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms