MoriTanosuke / FitbitAnalyzr

Simple application that lets you analyze your logged data on http://fitbit.com
http://fitbitanalyzr.herokuapp.com/
2 stars 0 forks source link

Load Food #23

Closed MoriTanosuke closed 12 years ago

MoriTanosuke commented 12 years ago

FitbitAnalyzr doesn't load Food at the moment. This is necessary for all interested in nutritional values like carbs and fat.

Need to add a new FoodController and Food model. Hopefully the refactored FitbitController allows to simply add a new dataseries definition and will then be able to load the data...

MoriTanosuke commented 12 years ago

Added new model Food with entries for nutritional values from the collection data and for caloriesIn and water from the time series. Unfortunatly the nutritional value isn't provided in the time series data, so I have to roll my own update from the collection data or wait for an API update.

Already asked about the API update on https://groups.google.com/d/topic/fitbit-api/R3VpIZCjXeM/discussion. Need new issue for that.