我如何向wunderground.com提供PWS数据并将其上传?是否有可用的API文档?
我找到了一个API,该API展示了如何从PWS中检索数据:
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"
通过询问Google博士,我还发现:
https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?QUERY_PARAMS
是提供数据的地方吗?但是哪里有API文档?
答案 0 :(得分:0)
请参阅https://feedback.weather.com/customer/en/portal/articles/2924682-pws-upload-protocol?b_id=17298-重要的是参数b_id,这要归功于Google在索引中。