A Python package for people to find their favourite recipes.
Project description
mealsearchpy
A Python package for people to search what they still have left in the fridge and provide relevent recipes the food gets wasted by using Recipe Search API. The package comprises the functionality of allowing users to enter the left ingridients left in the fridge, such as "chicken", "potato" as input and return relevent recipes, which inlcudes 5 functions:
- search_meal(food_item, num_recipes): Show the recipes based on the food item(s) entered and the number of recipes user wants to generate.
- health_meal(food_item, health_type, calories, num_recipes): Show the recipes based on the food item(s), health type(s), calories entered and the number of recipes user wants to generate.
- diet_meal(food_item, diet_type, calories, num_recipes): Show the recipes based on the food item(s), diet type(s), calories entered and the number of recipes user wants to generate.
- quick_meal(food_item, time, num_recipes): Show the recipes based on the food item(s), and cook time entered and the number of recipes user wants to generate.
- cuisine_meal(food_item, cuisine_type, num_recipes): Show the recipes based on the food item(s), cuisine type(s) entered and the number of recipes user wants to generate.
- API: Recipe Search API
- Home Page: https://api.edamam.com
- API Portal: https://api.edamam.com/api/recipes/v2
- Authenticaiton: This API need users to REGISTER to get the API ID and API key for authentication in order to explore the recipes data.
Installation
$ pip install mealsearchpy
The package has been published to pypi.
Usage
- TODO
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
mealsearchpy was created by Anni Dai. It is licensed under the terms of the MIT license.
Credits
mealsearchpy was created with cookiecutter and the py-pkgs-cookiecutter template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mealsearchpy-0.1.2.tar.gz.
File metadata
- Download URL: mealsearchpy-0.1.2.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.4 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
258c6ec276fdee8b6864ed98af3670e30b8d8ac7e832cc220dc281d4268b7bdf
|
|
| MD5 |
81d1a8891023f30e1bb97ec7fdfd35bc
|
|
| BLAKE2b-256 |
7611cae32a7044d09719d801be052b55649c171df9454f093b540efc53a1a60b
|
File details
Details for the file mealsearchpy-0.1.2-py3-none-any.whl.
File metadata
- Download URL: mealsearchpy-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.4 Darwin/22.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
197dab9903d6f230f4f8baf77553d8d6ccb2b517965d3c724a864b071a0853e1
|
|
| MD5 |
9c0f452ef354db35e0e8ca77e4f2ffad
|
|
| BLAKE2b-256 |
febad7ab5bac6f83935f0701812310c34053d0b35e260d0cb0d53c21783b71ea
|