10-02-2014 08:57
10-02-2014 08:57
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.
10-02-2014 09:07 - edited 10-02-2014 09:07
10-02-2014 09:07 - edited 10-02-2014 09:07
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.
10-14-2014 10:32
10-14-2014 10:32
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
10-15-2014 08:33
10-15-2014 08:33
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