背景:
想要实时收集天气的数据,网上的天气API很多,但发现好像高德地图的API会比较容易使用。
认识高德地图API:
高德地图天气开放文档网址:
https://lbs.amap.com/api/webservice/guide/api/weatherinfo/#t1
api地址:
https://restapi.amap.com/v3/weather/weatherInfo?city=110101&key=<用户key>
参数说明:
想要实时收集天气的数据,网上的天气API很多,但发现好像高德地图的API会比较容易使用。
高德地图天气开放文档网址:
https://lbs.amap.com/api/webservice/guide/api/weatherinfo/#t1
api地址:
https://restapi.amap.com/v3/weather/weatherInfo?city=110101&key=<用户key>
参数说明: