- 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/all
to get all the Food Names at once. - Change
all
to parameter?number=
to specify the number of Food Names you want to receive. - Change
all
to parameter?index=
to specify the index of the Food Name you are targeting.
This project is hosted by Heroku with with sreeramaj53@gmail.com
- Clone the repo.
- Run
python -m venv .env
to create a virtual environment. - Run
source .env/bin/activate
to activate the virtual environment. - Run
pip install requirements.txt
. - Run
python app.py
. - App starts at
http://localhost:5000
by default, but can be configured with a.env
file.
[
{
"Food_Name": "Mutton Soup"
}
]
[
{
"Food_Name": "Gobi Munchuriyan"
},
{
"Food_Name": "Chicken fingers"
}
]
If you have any feedback, please reach out to me at sreeramaj53@gmail.com