The service allows lookup against a nutrient database documenting more than 13,500 foods. Data returned profile content of 18 nutrients and calorie count for food items matching a submitted query. Information is based on frequently updated submissions from more than 200 suppliers.
Methods support submission of a food name and return profiles for any matching entries in the database. Profiles reflect the category of food, its nutrient content, and related data such as typical quantities and servings. Results reflect varying available forms and products (fresh, frozen, packaged, etc.).
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
ESHA Nutrition Node.js code sample available in the official site. This demo application with code shows how to use ESHA Web Services in the application. Some of the features that illustrate this sample are lists, nutrients, and food units. Results can be also seen in JSON protocol.