How would you use a weatherAPI and html5 geolocation to display an entire weekly forecast and not just a daily forecast?

I’m completing the weather forecast project and I’m curious about how I would display an entirely weekly forecast instead of just a daily forecast. Is that possible with using a weather api and the html5 geolocation alone?