已废弃
API地址:http://t.weather.sojson.com/api/weather/city/101210101
使用说明:
- 地址最后的“101210101”代表杭州
- 想要测试自己城市,把最后的101210101换成自己的城市代码(city_code)即可
[
{
"id": 1,
"pid": 0,
"city_code": "101010100",
"city_name": "北京",
"post_code": "100000",
"area_code": "010",
"ctime": "2019-07-11 17:30:06"
},
{
"id": 2,
"pid": 0,
"city_code": "",
"city_name": "安徽",
"post_code": null,
"area_code": null,
"ctime": null
}
]
评论 (0)