Utilisez les données publiques de l'OpenFoodFacts
Link Trello : https://trello.com/b/GZ0Q6qKK/projet-5
Link Github : https://github.com/Tony380/Projet5
This program use the OpenFoodFacts API to find a healthier substitute to a product.
- As a user, i want a program which helps me to find healthier food.
- I want to be able to select a category.
- I want to have the list of products of the category.
- I want to select a product on the list.
- I want to have a healthier substitute of this product.
- I want to be able to save this product and his substitute.
- I want to be able to access my products and their substitutes.
- I want to be able to leave the program.
Before using this program :
- Check requirements.txt and install the packages needed if it isn't already done.
- Fill config.py if your data are not the same.
The main menu has three options:
1 - Which product would you like to replace?
2 - Check my substitute products
0 - Quit the program
A list of categories is displayed on the screen. Choose any category by pressing its number to see a list of products.
A list of product is displayed on the screen. Select the product you want by pressing its number.
The product is displayed on the screen with its healthier substitute.
You have the possibility to save the product and its substitute.
Saved products and their substitutes are displayed on the screen.
You can quit the program.
The database's name created in this program is 'Purbeurre'.