Skip to content

gigamonkey/scheduler

Repository files navigation

scheduler

Code for scheduling multiple meetings on Google calendar, finding a schedule for all the meetings taking into account everyone's current calendar and the need to not schedule conflicting meetings.

Once you've got a client_secrets.json from the Google API console you can run:

./get_credentials

to go through the OAuth dance via your web browser to let the app access your calendar. Instructions for obtaining a client_secrets.json are at https://support.google.com/googleapi/answer/6158849.

Then run:

./schedule meetings.txt

to see when it would schedule the meetings where meetings.txt is a file containing one meeting per line in the format:

The number in brackets is the duration in minutes of the meeting, the text up to the colon is the title of the meeting, and everything after the colon is a comma-delimited list of attendees.

Run:

./schedule --calendar [email protected] meetings.txt

Where [email protected] is the calendar you want to schedule on (presumably yours) to actually schedule them on people's calendars.

About

Code for scheduling meetings on Google calendar.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published