Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of Google Meet Links in Calendar Events #1589

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

patrickzeitz
Copy link

Hey,
This is my first pull request ever 😬
I was wondering why it's not possible to add Google Meet links automatically, so I did it myself.
Maybe this is handy for everyone?

This thread was my starting point:
https://stackoverflow.com/questions/75916295/google-calendar-api-create-event-google-meet-link

Description: These changes add functionality to automatically generate Google Meet links for calendar events when appointments are created or updated.

Main changes:

In the add_appointment() method:

Addition of a Google_Service_Calendar_ConferenceData object.
Configuration of the CreateConferenceRequest with a ConferenceSolutionKey for Google Meet.
Setting the ConferenceData object for the event.
Update of the insert() call to consider conferenceDataVersion.
In the update_appointment() method:

Check if ConferenceData already exists.
If not, add a new Google_Service_Calendar_ConferenceData object as in add_appointment().
Update of the update() call to consider conferenceDataVersion.
These changes enable the automatic generation and addition of a Google Meet link to each new or updated appointment in the calendar event.

@alextselegidis
Copy link
Owner

Hello!

Thanks for sharing this!

The code changes will need some adjustments, but I shall be able to pull this into core.

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants