01-19-2021 13:16
01-19-2021 13:16
Is there any event that would notify changes in water data?
In case not, what would be the recommended approach to keep the info fresh without exceeding the WebAPI rate limit?
Answered! Go to the Best Answer.
Best Answer01-20-2021 02:07
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
01-20-2021 02:07
There are subscriptions, which can be used with the web API. https://dev.fitbit.com/build/reference/web-api/subscriptions/
These won't work if you're doing this in the companion API though. The rate limit is 150 requests per user per hour, so you shouldn't hit those.
Best Answer01-20-2021 02:07
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
01-20-2021 02:07
There are subscriptions, which can be used with the web API. https://dev.fitbit.com/build/reference/web-api/subscriptions/
These won't work if you're doing this in the companion API though. The rate limit is 150 requests per user per hour, so you shouldn't hit those.
Best Answer01-20-2021 09:35
01-20-2021 09:35
Yeah @JonFitbit, it is not what I need. I was wondering if there are javascript events in the companion layer, for a clock face I am developing. Having an intermediate server would be an overkill anyways. Thanks though!
Best Answer