07-26-2022 04:48
07-26-2022 04:48
Hello,
I'm doing a project for my University and I'm trying to use de fitbit API.
The idea is to get the data from the central servers of FITBIT where the watch send the data, through a batch executed periodically.
I have read the docu but there are some things that I didn't get.
What application type do I have to use? server?
How I upload the app to the central servers?
Any language recommended?
If you link me some info for me is enough.
Thanks in advance,
Fran
07-27-2022 08:34
07-27-2022 08:34
Hi @Ganchito
Gordon
09-15-2022 09:54
09-15-2022 09:54
Hi Gordon,
First of all, thank you for the answer, it has helped me.
I have advanced in my project and the next week I will bring some more doubts.
At this moment there is still one thing I don't get his use. The user-id in the petitions. For example: /1/user/-/activities/date/{date}.json.
The '-' corresponds to the current user logged, but in the petition, I also have to send the auth token (who represents the user logged), so what use has the 'user-id' there?
Fran
09-16-2022 07:49
09-16-2022 07:49
Hi @Ganchito
You will always need to provide the access token which lets Fitbit know which user's data you are requesting. By specifying the "-", you are just requesting the user's data based on the access token. If you enter the user id into the endpoint, (i.e. /1/user/ABC123/activities/date/{date}.json), then we will validate the user id in the endpoint declaration against the access token. Either option is acceptable.
Gordon
09-16-2022 08:02
09-16-2022 08:02
Hi @Gordon-C,
So as summary: the "user id" field it's optional, and only is necessary if we want to confirm that the access token is the correct one in relation to the user we are looking at?
09-19-2022 09:50
09-19-2022 09:50
Correct. Providing the user id value is optional. It's common for developers to just provide the "-".
03-12-2023 14:12
03-12-2023 14:12
Hi, I am developing the API to display information to the user as a project for my university. But I don't have any fitbit device in my hand right now. Is there any way to mock this database of a user?
03-14-2023 12:46
03-14-2023 12:46
Hi @Ganchito
You can manually log the activity, nutrition, sleep and weight data through either fitbit.com or the mobile application. Also, you can add MobileTrack as the Fitbit device in the mobile application to use your mobile phone as a pedometer.
Gordon
11-18-2023 11:38 - edited 11-22-2023 07:03
11-18-2023 11:38 - edited 11-22-2023 07:03
Great idea, friend! However, I believe that the implementation of such a scientific project is quite difficult to implement in practice. To do this you need to have special knowledge and experience. Therefore, the best solution to get an excellent result is to seek help from professionals on https://assignmentbro.com/ca/accounting-assignment-help the online service from which I ordered the writing of an academic paper on accounting. The result pleasantly surprised me - the quality of the work was high, and I had time for other subjects. However, I understand that using such services is not always ethical, so you should consider them as an additional resource when absolutely necessary.