Makeing timetable on Google Calender using Google Apps Script.
Holidays and all-day events are skipped.
- Node.js
- Change the contents of
config
in themain
function. - Create
secret.ts
on the same level asmain.ts
and create the following constants.
export const subjects = [
[
["subject name", "Description (optional)."],
["subject name", "Description (optional)."],
[""],
[""],
],
[[""], [""], ["subject name"], ["subject name"]],
[["subject name"], ["subject name"], ["subject name"], [""]],
[["subject name"], ["subject name"], [""], ["subject name"]],
[[""], ["subject name"], ["subject name"], [""]],
];
- Run
npm run deploy
to push to Apps Script. - Create a property named MY_CAL and set your calendar ID on Google Apps Script.
- Run
main
on Apps Script.
Your contribution is always welcome. Please read Contributing Guide.