Entry

class myfitnesspal.entry.Entry(name: str, nutrition: Dict[str, float])

Stores information about a single entry.

property name: str

Name of the item.

property totals: Dict[str, float]

Totals for the item.

get_as_dict() MealEntry

Returns totals per-item as a dictionary.

property short_name: Optional[str]

Short name.

property unit: Optional[str]

Unit.

property quantity: Optional[str]

Quantity.