The CalorieNinjas API is a natural language API that can extract nutrition data from any text or image of text. Input text such as "Last night we ordered a 14oz prime rib and a glass of chardonnay" and the JSON response will contain amount of calories, protein, cholesterol, fats, sugars, carbohydrates and other nutritional information. The API may also return nutritional information from an image.
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.