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 . CreateFood
Create new private food for a user.
/*
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 create new private food for a user. The documentation for this Fitbit resource can be found here.
Here's an example list of acceptable inputs:
AccessToken: {YOUR FITBIT ACCESS TOKEN}
Name: snickers MeasurementUnitID: 100 ServingSize: 1 Calories: 100 Description: candy bar
The following is a sample of the JSON information returned by this Choreo:
{ "food": { "accessLevel": "PRIVATE", "brand": "", "calories": 100, "defaultServingSize": 1, "defaultUnit": { "id": 100, "name": "dolma", "plural": "dolmas" }, "foodId": 4171032, "name": "snickers", "nutritionalValues": { "biotin": 0, "calcium": 0, "calories": 100, "caloriesFromFat": 0, "cholesterol": 0, "copper": 0, "dietaryFiber": 0, "folicAcid": 0, "iodine": 0, "iron": 0, "magnesium": 0, "niacin": 0, "pantothenicAcid": 0, "phosphorus": 0, "potassium": 0, "protein": 0, "riboflavin": 0, "saturatedFat": 0, "sodium": 0, "sugars": 0, "thiamin": 0, "totalCarbohydrate": 0, "totalFat": 0, "transFat": 0, "vitaminA": 0, "vitaminB12": 0, "vitaminB6": 0, "vitaminC": 0, "vitaminD": 0, "vitaminE": 0, "zinc": 0 }, "servings": [ { "multiplier": 1, "servingSize": 1, "unit": { "id": 100, "name": "dolma", "plural": "dolmas" }, "unitId": 100 } ], "units": [ 100 ] } }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms