Having an interesting time pulling this weather_code object to the page. Any ideas? :-)
weather_code
Here's my code:
<div *ngFor="let forecast of this.weatherData?.forecasts | keyvalue"> {{ forecast.value.hourly[0].weather_code }} </div>
where is the forecasts array? If the whole object is the displayed object (in your screenshot) you just have to do response.forecast['2021-01-25'].hourly[0].weather_code
response.forecast['2021-01-25'].hourly[0].weather_code
2.1m questions
2.1m answers
60 comments
57.0k users