Canvas - food.get

Description

Displays the nutritional information for a given food, with common serving sizes and other foods that this food is frequently eaten with. The food can be added (or modified) to your Food Diary.

Example

Figure 1: the food.get canvas

Default Navigation Section

Food Diary

Requires Authentication

No

Sections

Name Description
foodtitle The name of the food
nutritionpanel The nutrition panel for the selected food, quantity and serving
search A search input text box for performing food searches
servingdescription The selected quantity and serving of the food. E.G.: 100g
servingentry A form to select the quantity and serving and allows the food to be saved to the Food Diary
servingselector A list of common serving sizes for the selected food

Optional setCanvas Parameters

Name Type Description
food_id Int The ID of the food to retrieve.

Related REST API Calls

Related Canvases

Diagram

Figure 2: the food.get canvas dissected
FatSecret Sites
For Developers

For Professionals

For Everyone

FatSecret Platform API

Support
API

About FatSecret

© 2021 FatSecret. All rights reserved.