My tools for analyzing fitbit data.
A very simple Java programming using Clay Gregory's marvellous jFitbit to grab a Fitbit account's intraday time-series data.
Produces a file called FitbitData which has timestamped stepcounts for a date range
- jFitbit
- cg-jcommons
- Apache http-components (I found version 4.2.5 worked just fine)
This isn't well packaged, but hopefully the instructions will help.
-
Create a new eclipse project (or, if you are good with ant, then you can probably figure this out without instructions.
-
Add the file FitbitDataFetch/src/FitbitTest.java
-
Download the two projects, jFitbit and cg-jcommons. Both can be built with maven using
mvn package
, and will produce.jar
files in target/. Add these jars to the Java build path for your eclipse project. Download the binary package ofhttp-components
, and add the jars in lib/ to your build path. -
Modfify the source of FitbitTest.java to use your username and password.
-
Run!
A very simple python program which takes the output of FitbitDataFetch and produces a Diurnal plot inspired by the 'personal analytics' of Stephen Wolfram.