MoriTanosuke/FitbitAnalyzr

Load Food

Closed this issue · 1 comments

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...

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.