Web 应用程序的天气 API

发布于 2024-08-27 14:25:59 字数 267 浏览 5 评论 0原文

Weather.com 网站预测未来 10 天。 例如,在此网址中: http://www.weather.com/weather/narrative/GRXX0004

我似乎找不到此类数据的提要。我可以为这些日子中的每一天提取一份 Feed 吗? 我有什么遗漏的吗?如何轻松解析10天的数据?

谢谢你!

In the weather.com site it has forecast for 10 days.
For example, in this url: http://www.weather.com/weather/narrative/GRXX0004

I cannot seem to find a feed for that kind of data. Could I pull a feed for each one of those days?
Is there something I am missing? How could I easily parse data for 10 days?

Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

浮萍、无处依 2024-09-03 14:25:59

我搜索了一些有关使用 Wea​​ther.com 数据源的教程 - 它看起来像这个 网站 提供了一些源代码,允许您使用天气网关类输入给定位置作为参数,然后“可以查找该位置的天气。您可以选择获取当前状况,或详细的天气预报报告未来的日子”。

希望有帮助。

I searched for a little bit for tutorials on using Weather.com's data feeds- it looks like this site provides some source code that allows you to use the weather gateway class to enter a given location as a parameter which then "can look up the weather for this location. You can choose to get current conditions, or detailed forecast reports for days to come".

Hope that helps.

铜锣湾横着走 2024-09-03 14:25:59

您可以使用国家气象局 XML 数据源。

you can use the National Weather Service XML data feeds.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文