Find weather with specifical date

  • 1
  • Question
  • Updated 3 years ago
Hello,
I want to have the weather of a specifical date, API is like: http://api.wunderground.com/api/key/conditions/lang:FR/pws:0
But I don't know how I can have the weather of tomorrow or of 3 days ago.
How can I do ?

Thank you.
Photo of PiR

PiR

  • 2 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of afelicioni

afelicioni

  • 227 Posts
  • 43 Reply Likes
Did you checked out the history feature?
Find more at http://www.wunderground.com/weather/api/d/docs?d=data/history but remember to include a location in the URL (the pattern you wrote above is missing this query part).
(Edited)
Photo of PiR

PiR

  • 2 Posts
  • 0 Reply Likes
Yes but it doesn't work in the future, for example it doesn't work for tomorrow
Photo of afelicioni

afelicioni

  • 227 Posts
  • 43 Reply Likes
Sorry, for fetching future weather data and forecasts you should refer to forecast feature as summarized on http://www.wunderground.com/weather/api/d/docs?d=data/forecast but obviously using a different URL scheme