A Node.js/Express.js REST API to GET a random picture of food dishes.
OpenAPI Specification Swagger v3:https://foodish-api.com/api-docs
Base URL for all endpointshttps://foodish-api.com/
The response time will likely be a few seconds long on the first request, because this app is running on a free instance. Subsequent requests will behave as normal.
You may support the projecthere.
Routes | Description |
---|---|
GET /api/ |
Random food dish from random category. |
Example Request-
GET /api/
Example Response-
{ "image": "https://foodish-api.com/images/burger/burger101.jpg" }
Routes | Description |
---|---|
GET /api/images/:food |
Random picture fromfood category. |
Please visit thedemowebsite to view the list of availablefood
categories.
Example Request-
GET /api/images/biryani
Example Response-
{ "image": "https://foodish-api.com/images/biryani/biryani32.jpg" }
- You are designing a restaurant website and you want to add random food pictures as placeholders.
- You are creating a guess the food dish game.
- You are ordering a pizza but you just want a random choice, visithttps://foodish-api.com/images/pizza/because that's fun! Didn't like the pizza? Just hit refresh!
- You just like to see food pictures (visual hunger) becauseyou eat with your eyes first.
Please note that I do not own any of the Foodish dataset images. All Foodish images and their ownership belong to their original creators mentionedbelow.
- Foodish is completely free to use, however, it requires some additional costs to keep the domain and service running. Help me keep it running bydonating here!
- For technical support and questions, pleasecreate a new issue.
Please read theCONTRIBUTINGfor details on adding images to the Foodish Database.
Foodish would not be possible without the work of:
- Rajaraman Ekambaramfor providing the initial Foodish image database viaKaggle.
- RitaEfor providing some additional Foodish images viaPixabay.
This project is licensed underMIT.Please read theLICENSEfor details.