- An API that will return random Food Names ๐ก๐ฅง๐๐ฎ
- Dedicated To All Food Lovers โค๏ธ
-
https://food-names-api.herokuapp.com/to get the documentation. -
https://food-names-api.herokuapp.com/api/Food-Names/allto get all the Food Names at once. - Change
allto parameter?number=to specify the number of Food Names you want to receive. - Change
allto parameter?index=to specify the index of the Food Name you are targeting.
This project is hosted by Heroku with with [email protected]
- Clone the repo.
- Run
python -m venv .envto create a virtual environment. - Run
source .env/bin/activateto activate the virtual environment. - Run
pip install requirements.txt. - Run
python app.py. - App starts at
http://localhost:5000by default, but can be configured with a.envfile.
[
{
"Food_Name": "Mutton Soup"
}
][
{
"Food_Name": "Gobi Munchuriyan"
},
{
"Food_Name": "Chicken fingers"
}
]If you have any feedback, please reach out to me at [email protected]