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 . Statistics . GetTimeSeriesByDateRange
Gets time series data for a given resource based on a date range you specify.
/*
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 time series data for a given resource based on a date range you specify. For example, a common time series query might be to get a list of "body/weight" measurements for every day of a given date range. This Choreo has an input called ResourcePath which can have a variety of different values based on the resource time series you want to retrieve. Below is a table containing the resource paths available:
Food | Activity | Sleep | Body |
foods/log/caloriesIn | activities/log/calories | sleep/minutesAsleep | body/weight |
activities/log/steps | sleep/minutesAwake | body/bmi | |
activities/log/distance | sleep/awakeningsCount | body/fat | |
activities/log/floors | sleep/timeInBed | ||
activities/log/elevation | |||
activities/log/minutesSedentary | |||
activities/log/minutesLightlyActive | |||
activities/log/minutesFairlyActive | |||
activities/log/minutesVeryActive | |||
activities/log/activeScore | |||
activities/log/activityCalories |
The documentation for this Fitbit resource can be found here.
Here's an example list of acceptable inputs:
AccessToken: {YOUR FITBIT ACCESS TOKEN}
RecourcePath: activities/steps
StartDate: 2011-10-07 EndDate: 2011-10-09
The following is a sample of the JSON information returned by this Choreo:
{ "activities-log-steps":[ {"dateTime":"2011-04-27","value":5490}, {"dateTime":"2011-04-28","value":2344}, {"dateTime":"2011-04-29","value":2779}, {"dateTime":"2011-04-30","value":9196}, {"dateTime":"2011-05-01","value":15828}, {"dateTime":"2011-05-02","value":1945}, {"dateTime":"2011-05-03","value":366} ] }
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms