For more information, please see the original blog: High German weather query open platform API
https://finolo.gy/2020/01/ High German Open Platform weather query API /
Weather query interface documentation in German high open platform
https://lbs.amap.com/api/webservice/guide/api/weatherinfo
Registered Developer account, get Key
https://restapi.amap.com/v3/weather/weatherInfo?parameters
Parameters include parameters representative of the required and optional parameters.
https://restapi.amap.com/v3/weather/weatherInfo?key=[key]&city=310115
Return result:
{
"status": "1",
"count": "1",
"info": "OK",
"infocode": "10000",
"lives": [
{
"province": "上海",
"city": "浦东新区",
"adcode": "310115",
"weather": "多云",
"temperature": "6",
"winddirection": "北",
"windpower": "≤3",
"humidity": "56",
"reporttime": "2020-01-12 17:57:21"
}
]
}
Baidu api is to obtain data jsonp way, and high moral maps api is to allow cross-domain.
For more information, please see the original blog: High German weather query open platform API
https://finolo.gy/2020/01/ High German Open Platform weather query API /