04-25-2017 13:39
04-25-2017 13:39
Hey,
A user on my website has just noticed this and i was wondering if someone on here could clarify.
When a users sign up to my site, i grab there steps using the the following -
https://api.fitbit.com/1/user/-/activities/steps/date/**$currentDate**/max.json
This normally fetches all the days that a Fitbit user has.
At the moment, i have one user who registered to Fitbit on 2012-01-13 (as returned by the profile endpoint) but when i run the above endpoint, it only returns data up to the 2014-04-27.
Where is the data from before this date up to her registration date ?
Thanks in advance, Sam!
Answered! Go to the Best Answer.
04-25-2017 15:57
04-25-2017 15:57
@Bonxy I saw a post from a while back by Jeremiah that says the period 'max' was deprecated.
I know that doesn't exactly answer your question but that will probably explain why there's no information about 'max'. From what I can tell, there appears to be a limit on how much data 'max' can actually pull.
04-25-2017 15:57
04-25-2017 15:57
@Bonxy I saw a post from a while back by Jeremiah that says the period 'max' was deprecated.
I know that doesn't exactly answer your question but that will probably explain why there's no information about 'max'. From what I can tell, there appears to be a limit on how much data 'max' can actually pull.
04-26-2017 08:06
04-26-2017 08:06