āš«šŸ”“šŸ”µ Obtain a daily intake summary. ā±

(S) Limited amount of calls per second.

Ā 

This endpoint provides a daily summary of a user given a date. It also returns a dictionary named 'translations' which includes the translations into the user-preferred language for all food groups and subgroups included in the summary. 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
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Following the format "%Y/%m/%d".

integer

Optional parameter. Required for APIUserManagers/APICompanies. ID of the user to retrieve the information from.

string
enum

Desired language for the response. It must be a three-letter ISO 639-2/T code. Defaults to the APIUser's assigned language or english.

Responses

400

Bad request

401

Unauthorized, invalid token.

403

Forbidden

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json