食谱洞察提取API旨在将食谱URL转换为全面的结构化数据。它识别并组织关键信息,如食谱名称、烹饪描述、成分列表、准备步骤、烹饪时间、产量和相关图像。致力于食品相关应用、博客或数据库的开发人员可以利用此API来自动化数据收集,并丰富用户体验。凭借易于实现的设计,该API确保准确和一致的数据提取,从而实现与烹饪工具、食谱库和分析平台的无缝集成
将食谱网址发送到端点的POST主体中以接收结构化数据,包括成分、说明等
提取食谱洞见 - 端点功能
| 对象 | 描述 |
|---|---|
请求体 |
[必需] Json |
{"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/5868/recipe+insights+extractor+api/7704/extract+recipe+insights' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://www.sbs.com.au/food/recipes/food-safari-hummus"
}'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
食谱洞察提取器 API 可以提取详细信息,包括食谱名称、烹饪描述、成分列表、准备步骤、烹饪时间、产量和相关图像
开发者可以通过利用其简单的设计轻松集成食谱洞察提取器API,使数据提取和整合到食品相关的应用程序博客或数据库中变得无缝
API文档提供了关于速率限制和批处理能力的具体指导,这可能会根据订阅计划或使用级别而有所不同
是的,食谱洞察提取器API旨在与各种烹饪网站配合使用,确保从不同来源准确提取食谱数据
潜在的使用案例包括自动化食谱库的数据收集 增强烹饪应用中的用户体验 以及为食品相关项目提供分析
API返回的结构化数据包括食谱名称、描述、成分列表、准备步骤、烹饪时间、产量和相关图片,提供了食谱的全面概述
回复中的关键字段包括“名称”(食谱标题)“描述”(烹饪概述)“成分”(项目列表)“说明”(准备步骤)“图片”(视觉效果)和“烹饪时间”(持续时间)
响应数据以JSON格式组织,每个键表示食谱的特定方面,例如“材料”作为数组和“步骤”作为步骤数组,使其易于解析和利用
该端点提供关于食谱的详细信息,包括成分、准备步骤、烹饪时间、产量和图片,允许用户从一个URL访问完整的烹饪资料
用户可以通过在POST主体中发送特定的食谱URL来自定义他们的请求,使API能够根据提供的URL的内容提取定制的数据
数据是从各种烹饪网站上的公开可用食谱网址提取的,确保涵盖了多样的食谱和烹饪风格
数据准确性通过强大的解析算法来维持,这些算法验证和结构化提取的信息,确保返回的数据准确反映原始食谱内容
典型的用例包括建立食谱数据库 用详细的见解增强烹饪应用程序 并为食品博客创建内容 使用户能够有效地发现和利用食谱
服务级别:
100%
响应时间:
1,586ms
服务级别:
100%
响应时间:
654ms
服务级别:
98%
响应时间:
396ms
服务级别:
100%
响应时间:
6,629ms
服务级别:
100%
响应时间:
841ms
服务级别:
100%
响应时间:
1,671ms
服务级别:
100%
响应时间:
734ms
服务级别:
100%
响应时间:
2,088ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
1,673ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
911ms
服务级别:
100%
响应时间:
465ms
服务级别:
98%
响应时间:
0ms
服务级别:
100%
响应时间:
280ms
服务级别:
100%
响应时间:
3,956ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
0ms
服务级别:
100%
响应时间:
0ms