API接口
当前位置:首页 > API接口 > 正文内容

API接口

食物卡路里查询API接口源码

豫唐网络2023-01-28 21:26817

食物卡路里查询API接口,输入食物名称,获取卡路里数值

接口地址

https://www.ytecn.com/api/calories.php

请求方式

GET、POST

请求参数说明

字段名:msg

示例值:葡萄

返回成功实例

{"code":"200","msg":"获取成功","food":"葡萄","count":"10","data":[{"food":"葡萄","calories":"45 大卡(每100克)"},{"food":"红玫瑰葡萄","calories":"42 大卡(每100克)"},{"food":"葡萄果茶","calories":"14 大卡(每100克)"},{"food":"宏象 葡萄罐头【葡萄】","calories":"40 大卡(每100克)"},{"food":"无招牌 葡萄吐司【葡萄】","calories":"315 大卡(每100克)"},{"food":"兵工厂葡萄雪糕。 葡萄棒冰","calories":"160 大卡(每100克)"},{"food":"葡萄多多","calories":"48 大卡(每100克)"},{"food":"葡萄米糕","calories":"291 大卡(每100克)"},{"food":"葡萄糖浆","calories":"328 大卡(每100克)"},{"food":"葡萄酥","calories":"429 大卡(每100克)"}]}

案例展示

https://www.ytecn.com/api/calories.php?msg=葡萄

扫描二维码推送至手机访问。

版权声明:本文由汤阴县豫唐网络科技有限公司发布,如需转载请注明出处。

本文链接:https://www.ytecn.com/post/515.html

分享给朋友:
返回列表

上一篇:挑战古诗词API接口源码

没有最新的文章了...