天气
根据地点编码或城市名称查询实时天气。
请求地址
/openapi/v1/get_weatherlocationstring是推荐传地点搜索返回的 code,如 440300。data.citystring城市名称。data.textstring天气现象。data.temperaturestring实时温度,单位摄氏度。data.codeIconstring天气图标地址。1curl "https://api.dibinos.cn/openapi/v1/get_weather?location=440300" \2-H "Authorization: Bearer ACCESS_TOKEN"1{2 "code": 0,3 "message": "天气获取成功",4 "data": {5 "city": "北京",6 "text": "晴",7 "temperature": "26",8 "codeIcon": "https://api.dibinos.cn/resource/WeatherIcon/0@1x.png"9 },10 "time": 177950252811}