1

我使用文章http://www.icodeblog.com/2010/09/29/adding-local-weather-conditions-to-your-app-part-22-accessing-googles-xml-weather-api/添加我的应用程序的一些真正的基本天气功能,主要是当前的温度和条件。然而,看起来在 8 月底,Google 关闭了他们的 weatherAPI,而新的 iGoogle 不再使用 XML。那么,是否有任何相当简单的选项可以让我获得 1 组邮政编码的当前温度和条件?

4

3 回答 3

2

Wunderground API具有 XML 和 JSON 端点以及相当可用的免费计划。我自己用过,非常喜欢。

于 2012-09-01T22:44:16.690 回答
0

我知道 NOAA 运行SOAP Web 服务。也许这会有用?

于 2012-09-01T22:35:33.047 回答
0

为什么不使用免费的 YQL 表:wundergroundyahoo weather。它讲 XML 和 JSON(P)。

于 2012-09-13T00:35:42.400 回答