Weather web API

蹲街弑〆低调 提交于 2019-12-11 13:15:26

问题


What is the best web API for getting weaher information for any city in the world?

I need the hourly weather forecast and time of sunlight information.

And I will request the information using the city name. For New York I will pass: New York - NY, USA. As I'm using in Google API: http://www.google.com/ig/api?hl=en&weather=New+York+-+NY,+USA

I'm developing a backend application.


回答1:


I've previously used yahoo weather rss feed.. It has sunsire, and sunset times, not too sure about the hourly forecast requirement you have..




回答2:


The National Oceanic and Atmospheric Administration's National Weather Service has XML feeds at http://www.weather.gov/xml/current_obs/.



来源:https://stackoverflow.com/questions/8389792/weather-web-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!