Weather API with date parameter [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this questionI am looking for a weather api that I can query by latlng and date. The date seems to be the hard part. All 开发者_如何学Pythonthe APIs seem to only return the weather at he current day and/or week. I also need it to work worldwide and not just in the US.
Can anybody suggest one? Ideally i'd like to use Google or Yahoo but i don't think they provide this functionality or at least it is not documented
The Forecast.io API provides exactly the functionality you require. You can query by coordinates and any time in the past and future. It's available globally wherever there are weather data sources.
You might find some answers here: https://stackoverflow.com/questions/507441/best-weather-apis
Not sure about querying by date but you can query the Wunderground Data Feed by latlong, see http://wiki.wunderground.com/index.php/API_-_XML for all the details.
精彩评论