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

Newbie in need of help

Hello. I have recently purchased a Fitbit One. I need to write a program to fetch the user's data. I can program in C and Matlab. I'm not asking for the complete code, I just need somebody to point me in the right direction. I am completely confused till now. Can somebody please help? I need to program in Java.

Best Answer
0 Votes
3 REPLIES 3

Please refer to here for more details on how to use Fitbit API: 

https://wiki.fitbit.com/display/API/Fitbit+API

This documentation also has references to som examples.

Also to understand how https requests are formed you can play with Fitbit debug tool: https://dev.fitbit.com/apps/oauthtutorialpage

you can use any programin language of your choise that allows you to make https requests.

 

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

Dear Ivan,

 

Thank you very much for responding. Unfortunately, I am still unable to make sense out of all of this. I have never done this sort of a project before. I can program quite well in C and Matlab, so I can do it in Java and Python as well as they're easier to use and more user-friendly as compared to C. 

 

Could you please give me an already implemented code which I could run and then use as the base upon which I can build up my own program? I would very much appreciate that. I'm quite lost.

 

Best,

Scott

Best Answer
0 Votes

Scott, unfortunately Fitbit does not write code for others. 

 

I'd suggest  you make yourself familiarize with documentation that I sent before: https://wiki.fitbit.com/display/API/OAuth+Authentication+in+the+Fitbit+API

even though it looks big and complicated once you read it carefully you'll be able to understand all the concepts of Fitbit Api.

 

Also try playing with Fitbit API debug tool it will help you understand how to make requests better: https://dev.fitbit.com/apps/oauthtutorialpage

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes