← 娱乐

随机食谱

GET /recipes/random

获取完全随机的食谱,含完整的烹饪说明、带计量的配料表、分类、菜系来源和缩略图。非常适合「今晚做什么」功能、每日食谱小组件、烹饪挑战生成器和为膳食规划应用增添多样性。数据来自 TheMealDB。

查看可视化效果

请求示例

基本用法
curl https://nordapi.ee/api/v1/recipes/random

实时响应

{
  "data": {
    "area": "British",
    "category": "Dessert",
    "id": "52966",
    "ingredients": [
      {
        "ingredient": "Mars Bar",
        "measure": "6 chopped"
      },
      {
        "ingredient": "Butter",
        "measure": "150g"
      },
      {
        "ingredient": "Rice Krispies",
        "measure": "120g"
      },
      {
        "ingredient": "Milk Chocolate",
        "measure": "150g"
      }
    ],
    "instructions": "Grease and line a 20 x 20cm/8\" x 8\" baking tin with parchment paper.\r\nPut the mars bars and butter in a heat proof bowl and place over a pan of barely simmering water. Mixing with a whisk, melt until the mixture is smooth.\r\nPour over the rice krispies in a mixing bowl and mix until all the ingredients are evenly combined. Press evenly into the prepare baking tin and set aside.\r\nMelt the milk chocolate in the microwave or over a pan of barely simmering water.\r\nSpread the melted chocolate over the rice krispie mixture and leave to set in a cool place. Once set slice into squares and serve!",
    "name": "Chocolate Caramel Crispy",
    "source": "http://www.donalskehan.com/recipes/chocolate-caramel-rice-crispy-treats/",
    "tags": [
      "Sweet",
      "Snack",
      "Treat",
      "Tart",
      "Alcoholic",
      "BBQ"
    ],
    "thumbnail": "https://www.themealdb.com/images/media/meals/1550442508.jpg",
    "youtube": "https://www.youtube.com/watch?v=qsk_At_gjv0"
  },
  "success": true
}