Limit Number of Hourly Results

  • 1
  • Question
  • Updated 2 years ago
Trying to limit the number of hourly results I get. I'm currently seeing hourly results for 24+hours. I'm working on fixing this with a break in my foreach loop. That is all well and good but it's problematic and will require a lot of conditionals in the code to get it right. I was wondering if there is a quicker way.
Photo of WatermenUnlimited

WatermenUnlimited

  • 1 Post
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Markus Rohner-Bührer

Markus Rohner-Bührer

  • 1 Post
  • 0 Reply Likes
After 4 years this question is open: Is there now a method to get hourly forecast in larger intervals than 1 hour e.g. through a parameter in the url? (?hourly=3 or similar to get hourly forecast for every 3 hours).
Thank you