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

FITBIT API

ANSWERED
Spoiler

I am an iOS developer and integrating the Fitbit APIs in one of my app. I was successful in getting data and everything worked but I am stuck with a limit problem issue. I know there is a limit of 150 calls per hour per user but its happening too early. I am using two accounts for the testing purposes and one of the accounts gives this error too early even we have not call the API 150 times. I need to deliver that app to my client and stuck in this issue from weeks please help me in this. How can we utilize the limit in the best way and also is there a way to increase the limit too? So, whats the best method to get the data in order to remove this limit error? My client wants to get updated after every 5 seconds.

 

i Will be waiting for your reply soon.

 

Best Regards

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

We are calling the api after every 5 seconds to get the data to our app.


We are retrieving the data through the end points mentioned in your
document.


We are getting data but its not syncing every-time and also the heart rate
data synch some times and some times that key is doesn't even respond.



Our goal is to use it during the exercise so we can see our stats of heart
rate, calories burn and steps taken during the exercise.

--

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

Hi @kayhan234,

 

It's possible you are executing a single API call multiple times when you could execute it in a more efficient manner to get the same output.  Would you describe how your application is retrieving data through the APIs, how often you're executing these API calls and what your goal is?

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

We are calling the api after every 5 seconds to get the data to our app.


We are retrieving the data through the end points mentioned in your
document.


We are getting data but its not syncing every-time and also the heart rate
data synch some times and some times that key is doesn't even respond.



Our goal is to use it during the exercise so we can see our stats of heart
rate, calories burn and steps taken during the exercise.

--

Best Answer
0 Votes