03-09-2022 23:07
03-09-2022 23:07
Hello,
How do i combine and export data collected from multiple fitbit sources(Users) into a sql database using an API. Any leads will be highly appreciated.
Thanks.
Best Answer03-22-2022 07:13
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
03-22-2022 07:13
Hi @Hrc-
My apologies for the delay. I'd recommend using the Web APIs to retrieve the user data. See Web API Documentation. Each endpoint is going to provide you data for a single user. You will not be able to combine user data through the endpoint execution. The response is going to be presented in JSON format. I believe some databases can read and parse JSON. If you want a generic solution, build a service that reads the JSON string and parses out the data values. I know there are lots of examples in Java and I've seen some for other languages. I'd probably reference the user id (or a mapping of the user id to a unique value ) as the key value in your table.
Gordon
07-07-2023 22:55
07-07-2023 22:55
I think I found something what you may find useful: https://github.com/DataScienceUNIVR/fitbit_api_database The app pulls data from API and saves it to the database.
Best Answer