天气API接口

Lan
Lan
2020-03-11 / 0 评论 / 676 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2021年12月27日,已超过849天没有更新,若内容或图片失效,请留言反馈。

已废弃
API地址:http://t.weather.sojson.com/api/weather/city/101210101

使用说明:

  1. 地址最后的“101210101”代表杭州
  2. 想要测试自己城市,把最后的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

评论 (0)

取消