天气查询

<<返回首页

#接口地址

http://api.5qmn.com/api/daygas.php

#返回格式

TEXT、JSON

#请求方式:

GET、POST

#请求示例(JSON输出):

http://api.5qmn.com/api/daygas.php?city=杭州&xz=1&type=json

#参数说明

参数名 是否必填 参数类型 说明
city string 要查询的城市名
xz string 城市下级地方
type string 要输出的格式,可选:text、json

#返回数据