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 . Social . GetBadges
Gets a user's badges.
/*
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 a user's badges.The documentation for this Fitbit resource can be found here.
Here's an example list of acceptable inputs:
AccessToken: {YOUR FITBIT ACCESS TOKEN}
The following is a sample of the JSON information returned by this Choreo:
{ "badges": [ { "badgeType": "DAILY_FLOORS", "dateTime": "2012-04-27", "image50px": "http://www.fitbit.com/images/dash/badge_daily_floors10.png", "image75px": "http://www.fitbit.com/images/dash/75px/badge_daily_floors10.png", "timesAchieved": 3, "value": 10 }, { "badgeType": "DAILY_FLOORS", "dateTime": "2012-04-27", "image50px": "http://www.fitbit.com/images/dash/badge_daily_floors25.png", "image75px": "http://www.fitbit.com/images/dash/75px/badge_daily_floors25.png", "timesAchieved": 3, "value": 25 }, { "badgeType": "DAILY_STEPS", "dateTime": "2012-04-27", "image50px": "http://www.fitbit.com/images/dash/badge_daily_steps5k.png", "image75px": "http://www.fitbit.com/images/dash/75px/badge_daily_steps5k.png", "timesAchieved": 6, "value": 5000 }, { "badgeType": "LIFETIME_KILOMETERS", "dateTime": "2011-09-26", "image50px": "http://www.fitbit.com/images/dash/badge_lifetime_kilometers50.png", "image75px": "http://www.fitbit.com/images/dash/75px/badge_lifetime_kilometers50.png", "timesAchieved": 1, "unit": "KILOMETERS", "value": 50 }, { "badgeType": "LIFETIME_FLOORS", "dateTime": "2011-09-27", "image50px": "http://www.fitbit.com/images/dash/badge_lifetime_floors500.png", "image75px": "http://www.fitbit.com/images/dash/75px/badge_lifetime_floors500.png", "name": "Helicopter", "timesAchieved": 1, "value": 500 }, { "badgeType": "GOAL_BASED_WEIGHT_LOSS_POUNDS", "dateTime": "2012-06-21", "image50px": "http://www.fitbit.com/images/dash/badge_weight_finish.png", "image75px": "http://www.fitbit.com/images/dash/75px/badge_weight_finish.png", "timesAchieved": 1, "value": 1 }, { "badgeType": "LIFETIME_LOSS_POUNDS", "dateTime": "2012-05-23", "image50px": "http://www.fitbit.com/images/dash/badge_lifetime_weight_teal.png", "image75px": "http://www.fitbit.com/images/dash/75px/badge_lifetime_weight_teal.png", "timesAchieved": 1, "unit": "POUNDS", "value": -10 }, { "badgeType": "GOAL_BASED_WEIGHT_LOSS_ACHIEVEMENT", "dateTime": "2012-06-21", "image50px": "http://www.fitbit.com/images/dash/badge_weight_finish.png", "image75px": "http://www.fitbit.com/images/dash/75px/badge_weight_finish.png", "timesAchieved": 1, "value": 1 } ] }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms