Category / Section
Can we pull data from Fitbit
Published:
You can pull data from Fitbit using OAuth-based authentication through the REST API.
Steps to connect Fitbit Datasource
Click CREATE NEW to launch a new connection from the connection panel.
Select the Fitbit connection in the connection panel.
3. Enter a name and description (optional) for the data source.
4. Click the API Endpoints drop-down box and choose the required endpoint.
5. You can also enter the endpoint manually; click Custom Url and then enter the URL manually. Refer to the Fitbit API documentation for more details.
6. Select the GET method for the REST API in the Method combo box
7. Choose a time interval for Refresh Settings using the combo box to trigger the Rest API request periodically to keep the data in sync with our dashboard.
8. Select the JSON data type in the Data Format combo box
9. Click Preview & Connect to connect with the configurations set.
10. The Choose Schema(s) dialog opens. The schema represents the key fields of JSON data retrieved from the Fitbit Rest API request. This dialog displays a list of schemas in a treeview and their corresponding values in a grid for a preview. Select the required schema(s) from a treeview to use in the designer, and then click Connect.
11. Now, the data design view page with the selected table schema opens. Drag and drop the table and save the data source with a relevant name.
Refer to this link to learn additional details about Fitbit data source and setting up the URL.