The recipe elements returned are those best matching the search expression specified, ordered by their relevancy to the
search expression.
Each recipe element contains summary information about the recipe item as follows:
- recipe_id – the unique recipe identifier.
- recipe_name – the name of the recipe.
- recipe_description – A short description of the recipe.
- recipe_image – URL of this recipe item's default image, only if this is available
Nutrient values for each recipe item are returned according to a single serving - see
nutrient
Ingredients for each recipe item
- ingredient is a String – an ingredient in the recipe.
Recipe types for each recipe item
- recipe_type is a String – a tag for the recipe for identification and classification. e.g. Main Dish
<?xml version="1.0" encoding="utf-8" ?>
<recipes xmlns="http://platform.fatsecret.com/api/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://platform.fatsecret.com/api/1.0/ http://platform.fatsecret.com/api/1.0/fatsecret.xsd">
<max_results>1</max_results>
<total_results>1</total_results>
<page_number>0</page_number>
<recipe>
<recipe_id>91</recipe_id>
<recipe_name>Baked Lemon Snapper</recipe_name>
<recipe_description>Healthy fish with a tasty sauce.</recipe_description>
<recipe_image>http://www.fatsecret.com/static/recipe/bf0c5912-9cf8-4e7a-b07a-6703c4b77082.jpg</recipe_image>
<recipe_nutrition>
<calories>177</calories>
<carbohydrate>2.23</carbohydrate>
<protein>35.1</protein>
<fat>2.32</fat>
</recipe_nutrition>
<recipe_ingredients>
<ingredient>Lemon</ingredient>
<ingredient>Snapper</ingredient>
</recipe_ingredients>
<recipe_types>
<recipe_type>Main Dish</recipe_type>
</recipe_types>
</recipe>
</recipes>
{ "recipes": {"max_results": "1", "page_number": "0", "recipe": {"recipe_description": "Healthy fish with a tasty sauce.", "recipe_id": "91", "recipe_image": "http:\/\/www.fatsecret.com\/static\/recipe\/bf0c5912-9cf8-4e7a-b07a-6703c4b77082.jpg", "recipe_ingredients": { "ingredient": [ "Lemon", "Snapper" ] }, "recipe_name": "Baked Lemon Snapper", "recipe_nutrition": {"calories": "177", "carbohydrate": "2.23", "fat": "2.32", "protein": "35.1" }, "recipe_types": {"recipe_type": "Main Dish" } }, "total_results": "1" }}