apiインタフェースで今日の31の生活指数を取得

17382 ワード

エアコンのオン指数、アレルギー指数、ジョギング指数、快適度指数、服装指数、釣り指数、日焼け止め指数、ショッピング指数、サングラス指数、風邪指数、乾燥指数、ボートの指数、交通指数、道路状況指数、干し指数、美髪指数、夜の生活指数、ビール指数、凧揚げ指数、大気汚染拡散条件指数、化粧指数、観光指数、紫外線強度指数、風寒指数、洗車指数、気分指数、運動指数、デート指数、傘指数、熱中症指数、マスク指数.
インタフェースアドレス(公式サイトにアカウントを登録し、自分のappidとappsecretを使用してください)https://www.tianqiapi.com/life/lifepro?appid=23035354&appsecret=8YvlPNrz
呼び出し方法
curl https://www.tianqiapi.com/life/lifepro?appid=23035354&appsecret=8YvlPNrz

戻りjson
{
city: "  ",
cityid: "101120101",
update_time: "2020-06-15 15:00:12",
data: {
kongtiao: {
name: "      ",
level: "      ",
desc: "           ,    。"
},
guomin: {
name: "    ",
level: "   ",
desc: "     ,        。"
},
chenlian: {
name: "    ",
level: "   ",
desc: "          ,      。"
},
shushidu: {
name: "     ",
level: "    ",
desc: "  ,   。"
},
chuanyi: {
name: "    ",
level: "  ",
desc: "     、         。"
},
diaoyu: {
name: "    ",
level: "   ",
desc: "             。"
},
fangshai: {
name: "    ",
level: "  ",
desc: "    SPF  15,PA+   。"
},
guangjie: {
name: "    ",
level: "   ",
desc: "    ,       ,    。"
},
taiyangjing: {
name: "     ",
level: "    ",
desc: "       3  100%UV      "
},
ganmao: {
name: "    ",
level: "  ",
desc: "      ,          。"
},
ganzao: {
name: "    ",
level: "  ",
desc: "    ,       ,     ;          ;           。"
},
huachuan: {
name: "    ",
level: "  ",
desc: "    ,           。"
},
jiaotong: {
name: "    ",
level: "  ",
desc: "      ,        。"
},
lukuang: {
name: "    ",
level: "  ",
desc: "    ,    ,       。"
},
liangshai: {
name: "    ",
level: "  ",
desc: "    ,           。"
},
meifa: {
name: "    ",
level: "  ",
desc: "      ,        。"
},
yeshenghuo: {
name: "     ",
level: "   ",
desc: "              。"
},
pijiu: {
name: "    ",
level: "  ",
desc: "    ,        ,    。"
},
fengzheng: {
name: "     ",
level: "  ",
desc: "    ,      。"
},
wuran: {
name: "          ",
level: " ",
desc: "             。"
},
huazhuang: {
name: "    ",
level: "   ",
desc: "         。"
},
lvyou: {
name: "    ",
level: "  ",
desc: "   ,            。"
},
ziwaixian: {
name: "       ",
level: "  ",
desc: "  SPF  15、PA+     。"
},
fenghan: {
name: "    ",
level: " ",
desc: "            ,        。"
},
xiche: {
name: "    ",
level: "   ",
desc: "       ,      。"
},
xinqing: {
name: "    ",
level: "  ",
desc: "    ,         。"
},
yundong: {
name: "    ",
level: "   ",
desc: "         ,      。"
},
yuehui: {
name: "    ",
level: "   ",
desc: "       ,       。"
},
yusan: {
name: "    ",
level: "   ",
desc: "    ,     。"
},
zhongshu: {
name: "    ",
level: "     ",
desc: "    ,         ,         。"
},
kouzhao: {
name: "     ",
level: "",
desc: ""
}
}
}