如何贡献PWS数据并将其上传到 wunderground.com?那里有可用的 API 文档吗?
我找到了一个显示如何从PWS检索数据的API:
https://weather.com/swagger-docs/call-for-code
curl -X GET "https://api.weather.com/v2/pws/observations/current?stationId=KMAHANOV10&format=json&units=m&apiKey=adsf" -H "accept: application/json" -H "Accept-Encoding: gzip"
通过询问谷歌博士,我还发现:
https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?QUERY_PARAMS
这是提供数据的地方吗?但是在哪里有可用的 API 文档?
请参阅 https://feedback.weather.com/customer/en/portal/articles/2924682-pws-upload-protocol?b_id=17298 - 重要的是参数b_id,这要归功于Google将其包含在索引中。