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.
01-20-2021 02:07
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.
01-20-2021 02:07
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.
01-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!