Adding 5 day forecast to weather app?

https://codepen.io/rstorms/pen/YOvawm

I have the current weather showing, but I also wanted to add the forecast API and I can’t even console.log the response.data to see the object I want to dig in to? Any help?

Looking at it and it seems that the forecast API also has the current weather as well. But I can’t seem to find the other 4 days of the forecast in the array?

I’m confused where I would call it. Haven’t gotten that far as I tried to console.log to actually get into the data. It seems the forecast API also has the current API, so maybe I can delete the current API altogether?

https://codepen.io/rstorms/pen/YOvawm

Turns out the code still runs if I switch out the current weather API with the forecast API. When I try to dig into the object, though, (with response.data…), I only see one day as shown here…

Just looking at this now, so how should I add the keys query string to the url? Before “q= lat + long” ? Will be reading the documentation to figure this out.

Thank you very much!!!

Hello,

Did you know how to get 3 hour forecast from apixu?
I read all documentation, but can’t find how to use hour…