10-03-2014 13:32
10-03-2014 13:32
Hello everyone,
I was wondering if there was such a method to track and retrieve the various protocol communication data such as Bluetooth, ANT, etc. that my FitBit Flex uses on a daily basis. I am currently working on a school project that requires us to analyze this data. My concern is not creating an application but just retrieving the data for the time being. I was told that I needed to access the Partner API and use queries from PHP or other languages to pull that data from the server. I do have my API Consumer Key and Secret but unfortunately, I am not sure where to begin. If anyone can shed some light on this, it would be greatly appreciated.
Warm regards,
Isaiah
10-03-2014 13:34 - edited 10-03-2014 13:37
10-03-2014 13:34 - edited 10-03-2014 13:37
Hi Isaiah,
You dont need Partner API access to pull data from your Fitbit. You can use any language you like to connect to the Fitbit API, we use OAuth 1.0 which is widely supported in PHP, Java, Python, Ruby, etc.
If you are interested in doing it using PHP, take a look at https://github.com/heyitspavel/fitbitphp
At present, Partner API only gives you more detailed resolution into the Time Series APIs:
"Partner API allows to fetch the intraday data points with 1 minute detail level for several user resources (currently from the activities collection)."
https://wiki.fitbit.com/display/API/Fitbit+Partner+API
Without Partner API access, you can still get the data but with a lower resolution.
If you need access to the Partner API, just send an email to api@fitbit.com and we are happy to enable it for school research projects.
10-11-2014 21:14