菜谱查询接口文档

如果你是一位家庭主妇,你可能常常会因为吃什么而烦恼.每天饭菜都一样,闻也会腻,那怎么办呢?上网找呗!网上有数不尽的花样,包您满意!

Haoservice数据接口公司提供菜谱,给大家简单介绍一下.

接口信息:

URL: http://apis.haoservice.com/lifeservice/cook/query

支持格式:json

请求方式: :GET POST

DEMOhttp://apis.haoservice.com/lifeservice/cook/query?key=您申请的KEY&menu=%E8%A5%BF%E7%BA%A2%E6%9F%BF&rn=10&pn=3

参数介绍:

 名称

 类型

 是否必须

 说明

 menu

 string

 

 查询的菜谱名

 pn

 string

 

 页码

 rn

 string

 

 每页条数

 key

 string

 

  APP KEY

 

返回示例:

{

    "error_code": 0,

    "reason": "Success",

    "result": [

        {

            "id": 21,

            "title": "蚝油豆腐",

            "tags": "快手菜;炒锅;蚝香;补钙;",

            "intro": "懒人做的菜,一学就会,学做菜的先学的入门菜,比番茄炒蛋还简单,我一般加番茄沙司或蚝油。两种做法。其他就复杂一点了。",

            "ingredients": "豆腐:1;",

            "burden": ":适量;蚝油:适量;小葱:1;",

            "albums": "http://imgs.haoservice.com//caipu/pic/recipe/g_230/91/5b/482193_1b4401.jpg",

…………………………………….

           

            "steps": [

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/dd/a5/2663901.jpg",

                    "step": "1.准备好需要的梨汁冰糖。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/dc/a5/2663900.jpg",

                    "step": "2.山楂去核,洗净。"

                },

                

            "steps": [

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/4d/e5/2614605.jpg",

                    "step": "1.食用前可放入适量的盐调味。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/4e/e5/2614606.jpg",

                    "step": "2.骨头冷水入锅,焯去血沫。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/50/e5/2614608.jpg",

                    "step": "3.苦瓜洗净去瓤切块。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/51/e5/2614609.jpg",

                    "step": "4.砂锅坐水,把浸泡过的黄豆放入锅内。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/52/e5/2614610.jpg",

                    "step": "5.加入两颗蜜枣。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/53/e5/2614611.jpg",

                    "step": "6.焯过水的骨头放入锅内。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/60/e5/2614624.jpg",

                    "step": "7.切块苦瓜放入锅内。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/61/e5/2614625.jpg",

                    "step": "8.盖上盖子,开火,大火煲开5分钟后,转小火煲60分钟。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/77/e5/2614647.jpg",

                    "step": "9.当锅内的汤煲了60分钟后,把虾干放入锅内,继续煲60分钟。"

                },

                {

                    "img": "http://imgs.haoservice.com//caipu/pic/step/m/78/e5/2614648.jpg",

                    "step": "10.食用前可放入适量的盐调味。"

                }

            ]

        }

    ]

}

http://www.haoservice.com/docs/30 

haoservice提供上万种菜色供您选择!

 

你可能感兴趣的:(菜谱查询接口文档)