Ask HN: Best API format for recurring schedules?

https://news.ycombinator.com/item?id=34532383
by seveibar • 3 years ago
5 5 3 years ago

I'm trying to develop a standard by which people can submit recurring schedules for things like thermostats and access codes for smart locks for seam.co. I couldn't find any standard for recurring schedules other than the iCalendar format, which seems a bit unwieldy for a JSON API.

Cron is a bit limited, e.g. doesn't represent ranges of time.

This seems like a really common problem, anybody solving this in their work today?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com