Skip to content

Google Apps Script to add competitive programming contest schedule to Google Calendar

Notifications You must be signed in to change notification settings

blue-jam/competitive-programming-calendar-importer

Repository files navigation

competitive-programming-calendar-importer

Google Apps Script to add competitive programming contest schedules to Google Calendar.

You can just subscribe a Google Calendar created by the script.

Usage

Prerequirements:

  • You have a Google account.
  • You have developing tools listed the below on your machine.

Make sure you have logged in clasp with your Google account.

  1. Run clasp create and create a Standalone Scripts project.

  2. Run clasp push. You may have to overwrite a manifest file.

  3. Create a Google Calendar and a Google Doc.

  4. On the Project page of your Standalone Script project, Open "File" > "Project properties" > "Script properties and add script properties.

    Property Value
    dstCalendarId (ID of your Google Calendar)
    eventDbDocId (ID of your Google Doc)
  5. On the Project page, select index.gs and run updateCalendar. You may have to give the script permissions for Calendar and Doc.

  6. (Optional) Add a time-driven trigger to run the script periodically. 4 times per day or fewer is probably enough.

About

Google Apps Script to add competitive programming contest schedule to Google Calendar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published