1

I am browsing through a bunch of weather-forecast APIs and none of them seem to do something which I think is pretty necessary.

Is there a way for me to just send an address, or lat/lng coordinates, and the date for the forecast I want (in the future)?

Thank you, Alex

ps - if it matters, I use PHP.

Genadinik
  • 17,423
  • 60
  • 180
  • 282
  • Check out the "related" sidebar - there are numerous other questions similar (if not identical) to yours. – Jason Feb 23 '11 at 23:30

1 Answers1

1

It looks like the Yahoo weather API will do this, but you have to geocode the location to their WOEID first. You can't specify date, but it appears to return a list of forecasts for upcoming dates.

Jason
  • 79,175
  • 14
  • 122
  • 139
  • I looked into their API, and I don't think you can encode into their WOEID on the fly - can you? My site's content is user generated, so it must all be dynamically calculated. – Genadinik Feb 23 '11 at 23:31
  • This question addresses how to get WOEID on-the-fly: http://stackoverflow.com/questions/1822650/yahoo-weather-api-woeid-retrieval – Jason Feb 23 '11 at 23:37