Using the Command-Line API

Although most people will probably be using Python-MyFitnessPal as a way of integrating their MyFitnessPal data into another application, Python-MyFitnessPal does provide a command-line API with a single command described below.

day [$DATE]

Display meals and totals for a given date. If no date is specified, totals will be printed for today.