- Notifications
You must be signed in to change notification settings - Fork5
Code for scheduling meetings on Google calendar.
License
gigamonkey/scheduler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Code for scheduling multiple meetings on Google calendar, finding aschedule for all the meetings taking into account everyone's currentcalendar and the need to not schedule conflicting meetings.
Once you've got aclient_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 yourcalendar. Instructions for obtaining aclient_secrets.json
are athttps://support.google.com/googleapi/answer/6158849.
Then run:
./schedule meetings.txt
to see when it would schedule the meetings wheremeetings.txt
is afile containing one meeting per line in the format:
[30] A meeting name: harry@example.com, sally@example.com[60] Another meeting name: sally@example.com, linda@example.com, bobby@example.com
The number in brackets is the duration in minutes of the meeting, thetext up to the colon is the title of the meeting, and everything afterthe colon is a comma-delimited list of attendees.
Run:
./schedule --calendar sally@example.com meetings.txt
Wheresally@example.com
is the calendar you want to schedule on(presumably yours) to actually schedule them on people's calendars.