Canvas - food_entries.edit

Description

Displays all the food entries for a given day and shows the total and break down of the calories, fat, proteins and carbohydrates consumed. Allows the user to add, modify and remove food entries.

Example

Figure 1: the food_entries.edit canvas

Default Navigation Section

Food Diary

Requires Authentication

Yes

Sections

Name Description
accuracy Capture the accuracy of the food entries for the currently selected day (whether it is some or all of the foods consumed for the day)
caloriestotal The calories consumed for the currently selected day in the format xxx. E.G.: 2845
carbstotal The carbohydrates consumed for the currently selected day in the format xxx. E.G.: 373.38
date The currently selected day in the format dd MMMM YYYY. E.G.: 27 May 2009
dateselector A drop down list to allow the user to select the date
diary The form for displaying, adding, modifying and removing food entries for the currently selected day. Shows totals and break down for each meal type
fattotal The fat consumed for the currently selected day in the format xxx. E.G.: 102.93
proteintotal The proteins consumed for the currently selected day in the format xxx. E.G.: 100.75

Optional setCanvas Parameters

Name Type Description
date Int The number of days since January 1, 1970 (default value is the current day).

Related REST API Calls

Related Canvases

Diagram

Figure 2: the food_entries.edit canvas dissected
FatSecret Sites
For Developers

For Professionals

For Everyone

FatSecret Platform API

Support
API

About FatSecret

© 2021 FatSecret. All rights reserved.