get https://api.logmeal.com/v2/history/getDailySummary
(S) Limited amount of calls per second.
This endpoint provides a daily summary of a user given a date. For each day it informs of:
- Daily calorie distribution: How many calories were eaten throughout the day by occasions. Grams and % of the total.
- Daily energy: For calories, carbs, fat and protein the amount reported and recommended amount.
- Daily portions: Recommended daily portions for dairy products, grains and tubers, vegetables, fruit, whole grain and water. For each one it returns a variable whether the goal was achieved, the number of eaten portions and the recommended portion range. It also returns a field called contribution_by_category, where we can see how the total eaten portions and quantity of the food group divide in each category belonging to the food group. The total eaten portions are calculated by adding all the eaten portions of the different categories and then rounding up if >= 0.85 (more than 85% of a portion is considered as one) and down if < 0.85. The image ID's that contain the food group in their prediction are included in the field image_ids.
- Portion information: Gives extra information about the quantities used to calculate the portions