03-09-2023 23:37
03-09-2023 23:37
Is there any way to get all data for a user using only one call? Something like:
/1/user/[user-id]/combineddata/date/date/all/all.json
/1/user/[user-id]/combineddata/date/date/intraday/all.json
03-10-2023 23:03
03-10-2023 23:03
Hi @JHultman - it depends on what you are trying to do. Such a volume of data, if it were possible, might take too long and possibly cause the program to crash.
If you are only interested in the data for yourself in the web dashboard you can request the complete archive of data from the data export tab. Then use regular methods to process the relevant information of interest.
Author | ch, passion for improvement.
03-13-2023 02:35 - edited 03-13-2023 02:45
03-13-2023 02:35 - edited 03-13-2023 02:45
Well, I am designing a clinical study with about 300 individuals where the goal is to get _all_ data and this means we need to:
1. Get the data automatically (created an app for this)
2. Get the data on a regular basis.
This means that today i would have to make about 45 calls per individual / day and this is not a very effective way to get the data and was wondering if there is (or could be) any more effective way to do this.
As i request to get yesterdays data i have no real need to get the "actual data right now" and a way could be to get some kind of prepared archive data in one chunk from the fitbit servers.
03-13-2023 10:08
03-13-2023 10:08