API refresh rate

Hi All,

I’ve been using wg(worldtimeapi.org/api/timezone/Europe/London, json, .datetime) to get the real-time time from other timezones, which works, but even though the website refreshes every second, my widget refreshes anywhere between 10 to 50 minutes, so the time displayed is always wrong. Is there a way to force the widget to at least update once per minute?
Under advanced settings, i have the update mode to Fast, which doesnt help.
Any ideas are much appreciated, thank you!

Maybe Flows with a Cron trigger?

Would you be able to explain that in a bit more detain? Thanks!

Not tested, but you can try the following:

  1. Create a Flow
  2. Set trigger to Cron
  3. Set Cron value to “* * * * *”
  4. Add a Formula action with value: wg(worldtimeapi.org/api/timezone/Europe/London, json, .datetime)
  5. Add another action, Set Global Variable.
  6. Display that variable using $gv(var)$

I hope that works.