12-05-2021 22:46
12-05-2021 22:46
Hello,
We are looking to build a fitbit app where user can enter custom logs (like pain level, stress level, mood etc) using UI components. How do we access the data entered by the user for these custom logs externally? Can this be accessed via the web APIs or is there other means by which this data can be accessed from the fitbit device on a external mobile app?
Thanks!
12-05-2021 23:33
12-05-2021 23:33
I don't think you'll be able to get that custom data into the web API database, so you won't be able to get it out of there.
You'll need to write your own comms and data handling code. Send data from watch to companion, then use fetch() or websocket from there to push it to a server (which could be a mobile app running on the same device).
12-06-2021 11:29
12-06-2021 11:29
@newpage-dev- Can you enter the information in the App settings page via the companion?
Use Weather as an example it allows you to enter cities. This approach might help.
Here's how to change Temperature - for Weather, Centigrade - Fahrenheit, Sense which shows where you could accept user input for your app.
Author | ch, passion for improvement.
12-06-2021 22:58
12-06-2021 22:58
Thanks for your response @Gondwana