Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Water log changes

ANSWERED

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?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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. 

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

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 Answer
0 Votes

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
0 Votes