Home 参数解释 - MagicianHua/FitCookbook GitHub Wiki
{
"popular_recipes": { //最受欢迎食谱
"tid": "1", //类型ID
"title": "Popular Recipes", //标题
"img_url": "https://www.google.com/", //图片链接
"type": "popular_recipes" //食谱类型
},
"relish_recipes": { //美食小吃
"tid": "1", //类型ID
"title": "Relish for food", //标题
"img_url": "https://www.google.com/", //图片链接
"type": "relish_recipes" //食谱类型
},
"today_recipes": { //今天最新菜谱
"tid": "1", //类型ID
"title": "Today's Recipes", //标题
"img_url": "https://www.google.com/", //图片链接
"type": "today_recipes" //食谱类型
},
"kitchen_stories": { //厨房故事
"tid": "1", //类型ID
"title": "Kitchen Stories", //标题
"img_url": "https://www.google.com/", //图片链接
"type": "kitchen_story" 食谱类型
},
"might_like": [ 可能感兴趣的食谱(为Array集合)
{
"title": "Esay Keto Alfredo", //标题
"img_url": "https://www.google.com/", //图片链接(可为空,但图片与视频必须包含其一)
"video_url": "https://www.google.com/", //视频链接(可为空,但图片与视频必须包含其一)
"favorite": 200, //点赞或收藏数量
"calories": 100, //能量
"prop_time": "30m", //准备时间
"cook_time": "1h20m", //烹饪时间
"total_time": "1h50m", //总时间花费
"nutritions": [ //营养成份(为Array集合)
{
"name": "Sugars", //成份名称
"rate": "10.3" //成份含量
},
{
"name": "Cholesterol", //成份名称
"rate": "177" //成份含量
}
],
"ingredients": [ //食材准备(为Array集合)
"½ pound peeled and deveined medium shrimp", //食材1
"1 tablespoon vegetable oil, divided", //食材2
"2 eggs, beaten" //食材3
],
"directions": [ //烹饪步骤(为Array集合)
"Heat 1 teaspoon of the vegetable oil in a wok over medium-high heat. Pour in the onions, and cook until just set; set aside. Increase the heat to high, and pour another 1 teaspoon of oil to the wok. Stir in the shrimp, and cook until the shrimp turn pink, and are no longer translucent in the center, about 3 minutes; set aside.", //步骤1
"Wipe out the wok, and heat the remaining teaspoon of oil over high heat. Stir in the ginger, and cook quickly for a few seconds until the ginger begins to turn golden brown. Stir in the onion and chile peppers; cook for a minute or two until the onions begin to soften and turn brown around the edges. Add the pineapple and oranges, and gently cook until the pineapple is hot.", //步骤2
"Stir in the rice, walnuts, and soy sauce. Stir for a few minutes until the rice is hot. Fold in the egg, shrimp, and cilantro. Season to taste with salt and pepper, and cook to reheat." //步骤3
]
}
],
"might_video_like": [
{
"title": "Esay Keto Alfredo", //标题
"img_url": "https://www.google.com/", //图片链接(可为空,但图片与视频必须包含其一)
"video_url": "https://www.google.com/", //视频链接(可为空,但图片与视频必须包含其一)
"calories": 100, //能量
"prop_time": "30m", //准备时间
"cook_time": "1h20m", //烹饪时间
"total_time": "1h50m", //总时间花费
"nutritions": [ //营养成份(为Array集合)
{
"name": "Sugars", //成份名称
"rate": "10.3" //成份含量
},
{
"name": "Cholesterol", //成份名称
"rate": "177" //成份含量
}
],
"ingredients": [ //食材准备(为Array集合)
"½ pound peeled and deveined medium shrimp", //食材1
"1 tablespoon vegetable oil, divided", //食材2
"2 eggs, beaten" //食材3
],
"directions": [ //烹饪步骤(为Array集合)
"Heat 1 teaspoon of the vegetable oil in a wok over medium-high heat. Pour in the onions, and cook until just set; set aside. Increase the heat to high, and pour another 1 teaspoon of oil to the wok. Stir in the shrimp, and cook until the shrimp turn pink, and are no longer translucent in the center, about 3 minutes; set aside.", //步骤1
"Wipe out the wok, and heat the remaining teaspoon of oil over high heat. Stir in the ginger, and cook quickly for a few seconds until the ginger begins to turn golden brown. Stir in the onion and chile peppers; cook for a minute or two until the onions begin to soften and turn brown around the edges. Add the pineapple and oranges, and gently cook until the pineapple is hot.", //步骤2
"Stir in the rice, walnuts, and soy sauce. Stir for a few minutes until the rice is hot. Fold in the egg, shrimp, and cilantro. Season to taste with salt and pepper, and cook to reheat." //步骤3
]
}
],
"recipes_types": [ //食谱类型、主要用于搜索(为Array集合)
{
"tid": "1", //类型ID
"title": "QUICK AND EASY SAUCES", //食谱类型名称
"img_url": "https://www.google.com/", //食谱类型图片链接
"type": "quick" //食谱类型
}
]
}