中国餐 API

API ID 1722

中文餐饮API允许开发者访问一个关于不同类型中国菜肴的信息的广泛数据库 包括菜品 成分和烹饪方法

100% 正常运行时间 778 ms 平均响应

API 文档

端点

请求

要使用此端点,只需运行它,它将返回可用的中餐。

Endpoint ID: 1337
GET https://zylalabs.com/api/1722/chinese+meal+api/1337/get+chinese+foods
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
[{"id":"1","title":"Homemade crispy chilli oil","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/1.jpg"},{"id":"2","title":"Prawn and lemongrass hot and sour soup","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/2.jpg"},{"id":"3","title":"Steamed lap cheong with five treasure fried rice","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/3.jpg"},{"id":"4","title":"Jeremy Pang’s General Tso’s chicken","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/4.jpg"},{"id":"5","title":"MiMi Mei Fair’s ‘Hokkien’ noodles","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/5.jpg"},{"id":"6","title":"Giant prawn toast","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/6.jpg"},{"id":"7","title":"Wun’s kung pao chicken","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/7.jpg"},{"id":"8","title":"Crispy pork potsticker dumplings","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/8.jpg"},{"id":"9","title":"Hunan-style crispy mushroom noodle salad","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/9.jpg"},{"id":"10","title":"Black bean tofu and baby pak choi","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/10.jpg"},{"id":"11","title":"Hot and sour soup","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/11.jpg"},{"id":"12","title":"Vegan tofu stir-fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/12.jpg"},{"id":"13","title":"Vegetable and sweet chilli spring rolls","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/13.jpg"},{"id":"14","title":"Stir-fried beef in black bean sauce","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/14.jpg"},{"id":"15","title":"Leftover roast lamb stir-fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/15.jpg"},{"id":"16","title":"Caramelised apples with sesame","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/16.jpg"},{"id":"17","title":"Ken Hom’s crispy fish spring rolls","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/17.jpg"},{"id":"18","title":"Stuffed bitter melon with black bean sauce","difficulty":"Medium","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/18.jpg"},{"id":"19","title":"Ken Hom’s steamed chicken with Chinese sausage","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/19.jpg"},{"id":"20","title":"Ken Hom’s chicken on crispy noodles","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/20.jpg"},{"id":"21","title":"Speedy chilli turkey stir-fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/21.jpg"},{"id":"22","title":"Kung pao cauliflower","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/22.jpg"},{"id":"23","title":"Spicy prawn toasts","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/23.jpg"},{"id":"24","title":"Bang bang tofu salad","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/24.jpg"},{"id":"25","title":"Baked venison puffs","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/25.jpg"},{"id":"26","title":"Fragrant maple pineapple with coconut ice cream","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/26.jpg"},{"id":"27","title":"Sweet and smoky red-cooked cod (hong sao yu)","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/27.jpg"},{"id":"28","title":"Noodles in a spinach and garlic sauce","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/28.jpg"},{"id":"29","title":"Pork, celery and water chestnut wontons with ma la chilli oil","difficulty":"Medium","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/29.jpg"},{"id":"30","title":"Wok-fried fragrant scallops","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/30.jpg"},{"id":"31","title":"Ginger chicken congee (rice porridge) with kimchi","difficulty":"Medium","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/31.jpg"},{"id":"32","title":"Chicken, ginger and oyster sauce stir fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/32.jpg"},{"id":"33","title":"Sticky sesame and soy chicken traybake","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/33.jpg"},{"id":"34","title":"Singapore pork and prawn noodles","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/34.jpg"},{"id":"35","title":"Prawn toast scotch eggs","difficulty":"Medium","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/35.jpg"},{"id":"36","title":"Tofu with caramel and sichuan pepper","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/36.jpg"},{"id":"37","title":"Prawn, cabbage and sichuan pepper stir-fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/37.jpg"},{"id":"38","title":"Bao buns with orange and pomegranate glazed lamb","difficulty":"Medium","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/38.jpg"},{"id":"39","title":"Sticky beef and charred brussels sprouts fried rice","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/39.jpg"},{"id":"40","title":"Beef and spring onion skewers with sticky rice","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/40.jpg"},{"id":"41","title":"Home-smoked salmon with green herb lettuce salad","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/41.jpg"},{"id":"42","title":"Griddled scallops with oriental dressing","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/42.jpg"},{"id":"43","title":"Lemongrass and coconut chicken stir-fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/43.jpg"},{"id":"44","title":"Hoisin duck on cucumber","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/44.jpg"},{"id":"45","title":"Pork and hoisin stir-fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/45.jpg"},{"id":"46","title":"Spicy lemon rice","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/46.jpg"},{"id":"47","title":"Spicy chicken chow mein noodles","difficulty":"Medium","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/47.jpg"},{"id":"48","title":"Egg-fried rice and veg stir-fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/48.jpg"},{"id":"49","title":"Asian braised beef with pak choi","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/49.jpg"},{"id":"50","title":"Barbecued Asian lamb","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/50.jpg"},{"id":"51","title":"Sticky Asian pork with sesame greens","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/51.jpg"},{"id":"52","title":"Ginger, chilli and lime steamed cod with stir-fried red cabbage and coriander rice","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/52.jpg"},{"id":"53","title":"Battered prawns with spiced herb relish","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/53.jpg"},{"id":"54","title":"Chicken fried rice","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/54.jpg"},{"id":"55","title":"Tofu stir-fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/55.jpg"},{"id":"56","title":"Natasha Corrett’s grilled aubergine miso salad","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/56.jpg"},{"id":"57","title":"Green noodle and tofu salad with ginger and tamari dressing","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/57.jpg"},{"id":"58","title":"Singapore style stir fried noodles","difficulty":"Medium","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/58.jpg"},{"id":"59","title":"Brown sugar and chilli chicken wings","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/59.jpg"},{"id":"60","title":"Chinese-style sticky pork ribs","difficulty":"Medium","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/60.jpg"},{"id":"61","title":"Pork, prawn and shiitake bean curd wraps","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/61.jpg"},{"id":"62","title":"Quick sesame prawn, spring onion and radish stir-fry","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/62.jpg"},{"id":"63","title":"Quick beef stir-fry with cabbage and coconut","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/63.jpg"},{"id":"64","title":"Duck pancakes with quick-pickled spring onions","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/64.jpg"},{"id":"65","title":"Chinese chicken with noodles","difficulty":"Medium","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/65.jpg"},{"id":"66","title":"Seared Asian-style beef and stir-fried savoy cabbage","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/66.jpg"},{"id":"67","title":"Poached wontons in chilli-garlic sauce","difficulty":"Easy","image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/67.jpg"},{"id":"68"},{"_note":"Response truncated for documentation purposes"}]
获取中餐 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/1722/chinese+meal+api/1337/get+chinese+foods&food_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求

要使用此端点,您必须插入您要查找的食物的ID

Endpoint ID: 1338
GET https://zylalabs.com/api/1722/chinese+meal+api/1338/get+chinese+foods+id
输入参数

剩余免费测试请求:3 / 3。

API 示例响应
JSON
{"id":"2","title":"Prawn and lemongrass hot and sour soup","difficulty":"Easy","portion":"Serves 4","time":"Hands-on time 40 min, plus cooling","description":"Georgina Hayden’s fragrant hot and sour soup is packed with prawns, noodles and zingy fresh herbs. Batch cook and freeze the broth ready for busy nights.","ingredients":["400g raw shell-on prawns","1.25 litres fish stock","2 lemongrass stalks, trimmed and roughly chopped","4cm knob fresh ginger, roughly chopped","4 lime leaves, roughly chopped","1-2 bird’s eye chillies, roughly chopped","3 garlic cloves, roughly chopped","4 tbsp fish sauce","½ tbsp caster sugar","Juice 2 limes","150g oyster and/or enoki mushrooms, roughly torn","300g cooked rice noodles to serve","4 spring onions, trimmed and finely sliced, to serve","½ bunch of coriander and/or mint, leaves picked, to serve"],"method":[{"Step 1":"Shell the prawns, then put the shells in a large saucepan with the stock (reserve the prawns in the fridge). In a pestle and mortar crush the lemongrass, ginger, lime leaves, chillies and garlic cloves just enough tobruise them, break them up and release their flavours. Add them to the stock and put the pan over a medium heat. Gently bring to the boil, then reduce to a simmer and cook for 20 minutes."},{"Step 2":"Strain the flavoured stock, discarding all the solids, then return the clear broth to the pan. Add 3 tbsp of the fish sauce, the sugar and the juice of 1½ limes. Taste and add more of everything to suit your taste: you’re looking for a punchy, tangy, salty broth. Add the prawns and mushrooms to the pan and simmer for 2 minutes until just cooked through. At this point, you can freeze the broth (see Make Ahead)."},{"Step 3":"When you’re ready to serve, defrost and gently reheat the broth (if needed). Divide the cooked noodles among 4 bowls, then ladle over the piping hot broth. Divide the prawns and mushrooms among the bowls and scatter over the sliced spring onions. Finish with the herbs."}],"image":"https://apipics.s3.amazonaws.com/chinese_recipes_api/2.jpg"}
获取中国食品身份 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/1722/chinese+meal+api/1338/get+chinese+foods+id&id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 中国餐 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

🚀 企业版套餐

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

关于API:

 

该API将提供有关中国食品的大量信息,从最受欢迎的菜肴到最冷门的食材,使其成为烹饪爱好者、厨师以及任何想了解这种迷人烹饪传统的人的宝贵资源。

本质上,一个中国食品API将是关于中国烹饪的信息数据库。该数据库将包括有关中国烹饪中使用的各种食材的详细信息,如香料、草药和蔬菜。它还将包括有关中国烹饪中使用的不同准备方法的信息,例如以不同的方式烹饪不同的食品。

中国餐饮API的主要优点之一是它将允许开发者创建帮助发现新菜肴并了解更多关于中国烹饪的应用程序。例如,开发者可以创建一个食谱应用程序,允许用户搜索中国菜肴。该应用还可以提供逐步的准备说明。

总体而言,这将是任何对中国烹饪感兴趣的人的宝贵资源,从专业厨师到业余厨师。凭借其关于中国食材、准备方法和文化意义的丰富信息,API将允许开发者创建各种应用程序,帮助人们发现、了解并欣赏中国丰富多样的烹饪传统。

 

您的API接收什么,提供什么(输入/输出)?

它将接收参数并为您提供JSON。

 

该API的最常见用例是什么?

  1. 食谱分享平台:开发者可以使用中国食品API创建分享和发现中国食谱的平台,允许用户分享和发现新菜肴和烹饪方法。

  2. 烹饪教程应用:该API可以集成到烹饪教程应用或网站中,为用户提供准备中国菜肴的逐步指引。

  3. 餐厅应用:该API可用于创建提供中国菜单选项和食谱的餐厅应用,让用户了解中国烹饪中常用的菜肴和食材。

  4. 美食博客平台:该API可用于创建美食博客平台,博主可以分享中国食谱,读者可以搜索新食谱进行尝试。

  5. 社交媒体集成:中国食品API可以集成到社交媒体平台,让用户与朋友和粉丝分享他们最喜欢的中国食谱,促进中国烹饪爱好者的社区。

 

您的计划是否有任何限制?

除了每月的API调用限制外,暂无其他限制。

中国餐 API FAQs

"获取中国食品"接口返回可用中国菜肴的列表,包括它们的名称、难度等级和图片 "获取中国食品ID"接口提供特定菜肴的详细信息,包括其成分、准备方法、份量和烹饪时间

响应数据中的关键字段包括“id”“标题”“难度”“图片”“份量”“时间”“描述”“成分”和“方法” 这些字段提供了关于每道菜及其准备的基本信息

响应数据以JSON格式组织 "获取中餐"端点返回一个餐点对象的数组 "获取中餐ID"端点返回一个具有详细属性的单个餐点对象

“获取中餐”接口提供菜品列表,而“获取中餐ID”接口提供特定菜品的详细信息,包括配料、烹饪方法和上菜建议

用户可以通过在“获取中餐食品ID”端点中指定菜品ID来自定义他们的请求,以检索特定餐点的详细信息 “获取中餐食品”端点在基本使用中不需要参数

典型的用例包括开发食谱分享平台 烹饪教程应用 餐厅菜单应用 食品博客网站以及专注于分享中餐的社交媒体集成

数据准确性通过定期更新和质量检查得以保持,确保有关菜肴、食材和制作方法的信息反映真实的中国烹饪实践

用户可以期待数据响应中一致的结构,每道菜都有一个标题、难度级别和配料列表。详细的菜品响应将包括一步步的准备方法,易于遵循

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API


您可能还喜欢