Hi all,
When I read the API documentation for intraday heart rate data acces, it seems that it is only possible to access data for a single day - is that true? does anyone know of a way to access several days' data in a single call?
Obviously I can loop through each day, calling a single day's data each time, but this seems very inefficient. I have this working already, but I have started to receive automated emails saying "....exceeded the Fitbit API client+viewer rate limit..." from the fitbit API .
Thanks for anyone who can point me in the right direction.............
Answered! Go to the Best Answer.
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
@Yael-Tamar If you're trying to backfill, then yeah you'll hit the rate limit since you can only pull 1 days worth of time series data at a time. Rate limit is 150 API requests per hour for each user that has authorized your app.
Best Answer
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
@Yael-Tamar If you're trying to backfill, then yeah you'll hit the rate limit since you can only pull 1 days worth of time series data at a time. Rate limit is 150 API requests per hour for each user that has authorized your app.
Best AnswerHi Yael-Tamar
No, there doesn't seem to be a solution. The limits imposed by Fitbit can't be overridden. As Andrew states, the limit is 150 calls per hour. If a user tries to do more than that, they receive an error message and have to wait a period of time (anything up to an hour) before retrying. A bit frustrating!
Regards
SquashPlayer..............
Best Answer