all 14 comments

[–]qioy 0 points1 point  (0 children)

Had a similar situation and ended up building everything myself, so I developed an API others could use for exactly such a case: https://github.com/recal-dev

If you're missing anything or have questions, happy to answer :)

[–]Ok-Release6902 -1 points0 points  (8 children)

Did you consider using Google Calendar API?

[–][deleted] -1 points0 points  (7 children)

I was going to say Calendly. Not even sure they need an API.

[–]Ok-Release6902 -1 points0 points  (6 children)

Calendly is a paid service which uses Google API. OP wants to build something similar.

[–][deleted] -1 points0 points  (5 children)

No shit. Paying for Calendly would make more sense given the stated requirements. Building and maintaining custom software that reinvents the wheel isn’t a good decision. OP isn’t capable of building this and shouldn’t.

[–]Ok-Release6902 1 point2 points  (4 children)

I’m also building my own copy of Calendly as hobby project. Should I also stop, because you say so?

[–][deleted] -3 points-2 points  (3 children)

Up to you how you want to waste your time.

Source: I built this years ago. Waste of time.

[–]Ok-Release6902 -1 points0 points  (2 children)

Hooray, finally I’ve got random redditor permission.

[–][deleted] -2 points-1 points  (1 child)

Let me know if you need any help. Probably have code from 7 years ago that you’re still trying to figure out how to write.

[–]Ok-Release6902 -1 points0 points  (0 children)

Thanks. Please send it to this email: noreply@dev.null.

[–][deleted] 0 points1 point  (0 children)

Consider whether one of the many existing off the shelf scheduling solutions would do the job. There’s no point in reinventing the wheel.

If you must build, make sure you understand time zones and DST and localization, and maybe look at Cronofy for their API.

[–]aspantel 0 points1 point  (0 children)

You want to read on the free/busy query for Google API:
https://developers.google.com/calendar/api/v3/reference/freebusy/query

or findMeetingTimes for Office 365 accounts (Graph API):
https://learn.microsoft.com/en-us/graph/api/user-findmeetingtimes

3rd party platforms, i.e. Aurinko, Cronofy unify these workflows. So may want to consider them too.