title: Get weather for specific date using Openweather API - parsing JSON response
body: <p>I am trying to build a simple weather forecasting app using Android studio and Java. I followed some instructions here (<a href="https://www.androdocs.com/java/creating-an-android-weather-app-using-java.html" rel="nofollow noreferrer">https://www.androdocs.com/java/creating-an-android-weather-app-using-java.html</a>) to get up and running and this works. However, I can only get the current weather. Openweather forecasting API calls seem to be for 5 days. That's ok, but how do I get the weather - say temp and wind speed - for a specific date specified by the user that's within the next 5 days?</p>
  
  <p>Below is a sample JSON response (shortened). Even if I could pull out the info around a specific date at 12pm, and get the temp and wind speed for that date, that would be enough. How do I parse this JSON response to get the temp and wind speed for a specific date? Thanks so much... sorry I'm a beginner...</p>
  
  <blockquote>
    <p>{"cod":"200","message":0,"cnt":40,"list":[{"dt":1574283600,"main":{"temp":281.75,"temp_min":281.68,"temp_max":281.75,"pressure":995,"sea_level":995,"grnd_level":980,"humidity":93,"temp_kf":0.07},"weather":[{"id":501,"main":"Rain","description":"moderate rain","icon":"10n"}],"clouds":{"all":100},"wind":{"speed":4.82,"deg":147},"rain":{"3h":5.38},"sys":{"pod":"n"},"dt_txt":"2019-11-20 21:00:00"},{"dt":1574294400,"main":{"temp":281.79,"temp_min":281.74,"temp_max":281.79,"pressure":995,"sea_level":995,"grnd_level":980,"humidity":91,"temp_kf":0.05},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":100},"wind":{"speed":5.55,"deg":140},"rain":{"3h":1.75},"sys":{"pod":"n"},"dt_txt":"2019-11-21 00:00:00"},{"dt":1574305200,"main":{"temp":279.48,"temp_min":279.44,"temp_max":279.48,"pressure":994,"sea_level":994,"grnd_level":980,"humidity":95,"temp_kf":0.04},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":100},"wind":{"speed":2.37,"deg":155},"rain":{"3h":0.94},"sys":{"pod":"n"},"dt_txt":"2019-11-21 03:00:00"},{"dt":1574316000,"main":{"temp":278.56,"temp_min":278.54,"temp_max":278.56,"pressure":995,"sea_level":995,"grnd_level":980,"humidity":94,"temp_kf":0.02},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":100},"wind":{"speed":1.73,"deg":128},"rain":{"3h":0.06},"sys":{"pod":"n"},"dt_txt":"2019-11-21 06:00:00"},{"dt":1574326800,"main":{"temp":279.19,"temp_min":279.19,"temp_max":279.19,"pressure":995,"sea_level":995,"grnd_level":981,"humidity":95,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":100},"wind":{"speed":1.79,"deg":104},"sys":{"pod":"d"},"dt_txt":"2019-11-21 09:00:00"},{"dt":1574337600,"main":{"temp":282.2,"temp_min":282.2,"temp_max":282.2,"pressure":995,"sea_level":995,"grnd_level":980,"humidity":85,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":100},"wind":{"speed":2.78,"deg":129},"rain":{"3h":0.19},"sys":{"pod":"d"},"dt_txt":"2019-11-21 12:00:00"}</p>
  </blockquote>