On the USDA FoodData Central API, I can successfully fetch foods, and get all of their details. However, I realized that the USDA FoodData Central API does not return an image for the foods. As per my requirements, I need an image to accompany the food.
I tried using the UPC number to fetch the image by using a barcode API, however a lot of the time it does not work and doesn't return any data. Also, this method won't work for Foundational Food types.
Also, if someone knows of a better food API which provides images, please tell me. I would be willing to switch to another API if that one has food images (as well as food names, branded and general).