欧洲的天气网络服务?
我们正在为欧洲寻找可靠的“当前天气”网络服务,并提供城市分辨率。 我们只需要当前的天气。
由于它是商业网站,我们不介意为该服务支付合理的费用。
我们有什么选择? 根据以往的经验,您会推荐或避免哪些服务?
注意:SOAP Web Service、XML RPC、REST,都可以。
We are looking for a reliable "current weather" web service for Europe, with city resolution. We only need the current weather.
Since it is for a commercial web site, we don't mind paying a reasonable fee for the service.
What are our options? What service would you recommend or avoid based on previous experience?
Note: SOAP Web Service, XML RPC, REST, all are fine.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
美国 NOAA 提供全球各城市的编码 METAR 信息。 给出相关城市的国际民航组织机场代码(例如EGLL 伦敦)您可以快速获得 METAR 报告。
The US NOAA has coded METAR information available for cities worldwide. Given the ICAO airport code for the city in question (eg. EGLL for London) you can quickly get a METAR report.
Weather Underground 是一个成功的天气网站,覆盖了世界大部分地区。 我们有时在工作中使用他们的数据。 他们提供天气 XML 源和 API,其中包括对当前观测结果的访问。
Weather Underground is a successful weather site that cover most of the world. We've used their data sometimes at work. They offer weather XML feeds and API which includes access to current observations.
http://www.weather2u.com 提供覆盖全球的商业服务。 然而,与大多数全球天气网站一样,它们使用来自 NOAA 国家气象服务的模型导出数据,其准确性与当地国家气象服务相比不利,尤其是沿海地区。
http://www.weather2u.com provide a commercial service with global coverage. However they, like most global weather sites use model derived data from the NOAA National Weather Service, the accuracy of which compares unfavourably with local national weather services, especially for coastal regions.
直接从英国气象局获取。 他们以多种格式为世界提供数据源。 如果您更喜欢欧洲专用源(英国无论如何都会提供其中的数据),您需要检查 ecomet
Get it direct from the UK's Meteorological Office. they provide datafeeds for the world in several formats. If you prefer european dedicated feeds (of which the UK provides data anyway), you want to check ecomet
我会使用谷歌天气提要;)我还没有找到如何读出它,但它显然是很好的来源如何在 Google 的 JavaScript 中解析 XML
I would use google weather feed ;) I have not found how to read it out but it clearly is great source How to parse XML in JavaScript from Google
您应该能够与 Yahoo Weather Europe 进行交互,例如 < a href="http://www.kde-look.org/content/show.php/Weather+Plasmoid?content=84251" rel="nofollow noreferrer">天气等离子体做到了。
或者,如果您只需将其添加到网页,您可以直接使用 此小工具
You should be able to interface with Yahoo weather Europe like the team of the weather plasmoid did.
Or if you only need to add it to a web page you could use directly this gadget