Skip to content

code that uses an online repository to track daily caloric intake

Notifications You must be signed in to change notification settings

nathan-cai/caloric-intake

Repository files navigation

Caloric Intake Tracker

A personal python project that uses pygame to create a caloric intake tracker.

Features

  • Track daily caloric intake by referencing the USDA Food Central Database API
  • View past entries

Build

This requires Python 3, pygame, requests, and pandas.

Use Python's Standard Package Manager to install these libraries

pip install pygame
pip install requests
pip install pandas

Request an API key from https://fdc.nal.usda.gov/api-key-signup.html

Add the API Key to lines 200 and 203 in Classes.py

Usage

run main.py in an IDE or in a terminal

plot

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

code that uses an online repository to track daily caloric intake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages