{"name":"Food Safari hummus","description":"A classic dip that is made almost every day in most Lebanese homes. The secret is to cook the chickpeas until they’re really soft. If you can, seek out the prized nine-millimetre chickpeas grown in the Ord River region of Western Australia – they’re fabulous.","images":["https://images.sbs.com.au/dims4/default/9c5d269/2147483647/strip/true/crop/2000x1125+0+0/resize/1280x720!/quality/90/?url=http%3A%2F%2Fsbs-au-brightspot.s3.amazonaws.com%2Fdrupal%2Ffood%2Fpublic%2Fimg_0789_hommus-babaganoush_0.jpg"],"ingredients":["500 g dried chickpeas","2 tbsp bicarbonate of soda","1½ tbsp tahini","1 tbsp lemon juice","1–2 garlic cloves","2 tsp salt","1 tbsp extra-virgin olive oil","1 tsp sweet paprika","finely chopped flat-leaf parsley"],"instructions":[{"steps":["The day before you wish to make the hoummus, place the chickpeas in a large saucepan and add enough cold water to cover by 10 cm or more. Add the bicarbonate of soda and leave to soak overnight.","The next day, rinse the chickpeas, return them to the saucepan and cover with more water. Bring to the boil then simmer for approximately 1–2 hours, until the chickpeas are soft and shedding their skins. Drain and allow to cool.","Place the chickpeas in a food processor and blend until soft and creamy. Add the tahini, lemon juice, garlic and salt and blend again until the mixture is smooth. Scoop into a serving bowl and make a well in the centre. Pour the oil into the well and sprinkle paprika and parsley on top."]}],"url":"https://www.sbs.com.au/food/recipe/food-safari-hummus/73a5wo1e5"}
curl --location --request POST 'https://zylalabs.com/api/5867/recipe+decoder+api/7703/parse+recipe+data' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://www.sbs.com.au/food/recipes/food-safari-hummus"
}'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 食谱解码器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
食谱解码器API快速高效地将任何食谱URL转换为结构化数据。该API使用先进的人工智能分析食谱页面的内容并提取关键信息,如食谱名称、描述、配料清单、详细说明、份量或产量,甚至相关的图像。该API旨在为从事烹饪应用程序、烹饪博客或食谱管理平台的开发人员服务,消除了手动数据提取的需要,节省时间并确保准确性。只需将食谱的URL作为输入发送,您将收到以易于整合到应用程序或数据库中的格式组织的数据。无论您想建立食谱库、创建餐食规划工具还是分析烹饪趋势,这个API都是轻松准确地将网络文本转换为结构化数据的完美解决方案
食谱解码器API是一个将食谱网址转换为结构化数据的工具,提取关键信息,例如成分、说明、名称、描述和图像,用于烹饪应用程序
该API使用先进的人工智能分析食谱页面的内容通过发送食谱URL作为输入,它提取并组织相关数据为适合集成到应用程序或数据库的结构化格式
您可以提取各种类型的数据,包括食谱名称、描述、成分列表、详细说明、份量或产量以及相关图片
开发烹饪应用程序、烹饪博客或食谱管理平台的开发人员可以从这个API中受益,因为它通过消除手动数据提取来节省时间并确保准确性
结构化数据可以用来建立食谱库 创建餐 meal 计划工具 分析烹饪趋势 或者增强与烹饪相关应用中的用户体验
API返回的结构化数据包括食谱名称 描述 成分列表 详细说明 份量或产量 以及相关图像 这些数据经过组织以便于集成到应用程序中
响应中的关键字段包括“名称”(食谱标题)“描述”(食谱摘要)“成分”(所需物品清单)“说明”(逐步准备)和“图片”(相关视觉的URL)
响应数据以JSON格式结构化,每个键代表食谱的特定方面例如“ingredients”是一个字符串数组而“instructions”是一个详细说明每个步骤的对象数组
该端点提供全面的信息,如食谱名称、描述、成分列表、准备说明、份量和图片,使其适用于各种烹饪应用
用户可以通过在POST正文中提供不同的食谱网址来自定义请求 API将分析每个网址的内容并返回特定于该食谱的结构化数据
该API采用先进的人工智能算法分析食谱页面,确保数据提取的高准确性。对AI模型的持续更新和改进有助于保持数据质量
典型的用例包括创建食谱数据库 开发餐饮计划应用程序 增强烹饪博客 以及基于结构化食谱数据分析烹饪趋势
如果API返回部分或空结果,用户应验证食谱URL的正确性。此外,他们可以在其应用程序中实现错误处理,以优雅地管理此类情况