Description Usage Arguments Value
Makes request to Fitbit API, and stores the response into a variable.
1 | makeAPIRequest(type, activity, start.date, end.date, api.token)
|
type |
Type of time series. Must be 'day' or 'intraday' |
activity |
Type of activity. See below for details. |
start.date |
Start date in format YYYY-mm-dd |
end.date |
End date in format YYYY-mm-dd |
api.token |
API token for connection to Fitbit API |
The request response
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.