I am currently using WUnderground API to get weather data and build a forecast model but not all of the responses are showing in the system. Below is the data and what is shown in the "responses." How can I show the "periods" and the data in the "Periods" such as "title" or "fctxt"?
"forecast":{
"txt_forecast": {
"date":"11:22 PM EDT",
"forecastday": [
{
"period":0,
"icon":"mostlycloudy",
"icon_url":"http://icons.wxug.com/i/c/k/mostlyclo...",
"title":"Wednesday",
"fcttext":"A mix of clouds and sun early, then becoming cloudy later in the day. High 68F. Winds ESE at 5 to 10 mph.",
"fcttext_metric":"A mix of clouds and sun early, then becoming cloudy later in the day. High near 20C. Winds ESE at 10 to 15 km/h.",
"pop":"20"
Code: Select all
} ,
{
"period":1,
"icon":"nt_chancerain",
"icon_url":"http://icons.wxug.com/i/c/k/nt_chance...",
"title":"Wednesday Night",
"fcttext":"Partly cloudy in the evening. Increasing clouds with periods of showers after midnight. Low 59F. Winds SSE at 5 to 10 mph. Chance of rain 40%.",
"fcttext_metric":"Partly cloudy skies early followed by increasing clouds with showers developing later at night. Low near 15C. Winds SSE at 10 to 15 km/h. Chance of rain 40%.",
"pop":"40"
Code: Select all
}