{"id":51570580,"url":"https://github.com/klaaz0r/googleapis-calendar","last_synced_at":"2026-07-10T19:02:51.267Z","repository":{"id":57252423,"uuid":"126188324","full_name":"klaaz0r/googleapis-calendar","owner":"klaaz0r","description":"🗓Node Google API Calendar ","archived":false,"fork":false,"pushed_at":"2018-03-21T14:26:16.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T22:46:46.426Z","etag":null,"topics":["calendar","google","googleapis","node"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klaaz0r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-21T14:07:05.000Z","updated_at":"2018-08-03T01:54:51.000Z","dependencies_parsed_at":"2022-08-31T22:20:59.676Z","dependency_job_id":null,"html_url":"https://github.com/klaaz0r/googleapis-calendar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/klaaz0r/googleapis-calendar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaaz0r%2Fgoogleapis-calendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaaz0r%2Fgoogleapis-calendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaaz0r%2Fgoogleapis-calendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaaz0r%2Fgoogleapis-calendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klaaz0r","download_url":"https://codeload.github.com/klaaz0r/googleapis-calendar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klaaz0r%2Fgoogleapis-calendar/sbom","scorecard":{"id":562984,"data":{"date":"2025-08-11","repo":{"name":"github.com/klaaz0r/googleapis-calendar","commit":"b64a7246b023d0bc5728bd00c3daa9434920e176"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-42xw-2xvc-qx8m","Warn: Project is vulnerable to: GHSA-4w2v-q235-vp99","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-rvg8-pwq2-xj7q","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-7543-mr7h-6v86","Warn: Project is vulnerable to: GHSA-92xj-mqp7-vmcj","Warn: Project is vulnerable to: GHSA-wxgw-qj99-44c2","Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5","Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp","Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq","Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr","Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765","Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T14:11:56.368Z","repository_id":57252423,"created_at":"2025-08-20T14:11:56.368Z","updated_at":"2025-08-20T14:11:56.368Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35339931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calendar","google","googleapis","node"],"created_at":"2026-07-10T19:02:49.868Z","updated_at":"2026-07-10T19:02:51.260Z","avatar_url":"https://github.com/klaaz0r.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🗓 Google Calendar API wrapper\n\nA super simpel wrapper for google calendar with only `googleapis` as a dependency. List and create events, nothing more. Setup can become a bit tricky.\nYou need to get the credentials file from google developers console, and add them to a service account. Once you have done that make sure your serivce account is added to the\ngoogle calendar if he is not in the same organization you have to edit the settings in `admin.google/com/yourdomain` and go to calendar sharing.  \n\n```\nnpm install googleapis-calendar --save\n```\nor\n```\nyarn add googleapis-calendar \n```\nExample config: \n\n```javascript\nmodule.exports = {\n  \"private_key\": \"-----BEGIN PRIVATE KEY-----gW+KA==\\n-----END PRIVATE KEY-----\\n\",\n  \"client_email\": \"yourdomain@yourdomain.iam.gserviceaccount.com\",\n  \"calendarId\": \"yourdomain.1234@group.calendar.google.com\"\n}\n```\n\nThe only thing you have to look out for is the `date` and `dateTime` inside of the event object. Date is used if you want to create an event that is the whole day. Datetime is what can be used if you want to make an event from x hours till y hours. All the other functions are self explanatory.\n\n```javascript\nconst Calendar = require('./index')\n\nconst config = require('./config')\n\nconst calendar = new Calendar(config.calendarId)\n\ncalendar.authorize(config)\n\ncalendar.getCalendar()\n    .then(cal =\u003e {\n        // calendar details\n    })\n\ncalendar.getEvents('startTime', 20)\n    .then(events =\u003e {\n        // all events\n    })\n\nconst allDayEvent = {\n    summary: 'Awesome party',\n    description: 'some description',\n    start: {\n        \"date\": '2018-04-21',\n        \"timeZone\": 'Europe/Amsterdam'\n    },\n    end: {\n        \"date\": '2018-04-21',\n        \"timeZone\": 'Europe/Amsterdam'\n    }\n}\n\nconst fixedTimeEvent = {\n    summary: 'Meeting about having more meetings', // \n    description: 'some description',\n    start: {\n        \"dateTime\": '2018-04-21T12:30:47.000Z',\n        \"timeZone\": 'Europe/Amsterdam'\n    },\n    end: {\n        \"dateTime\": '2018-04-21T14:30:47.000Z',\n        \"timeZone\": 'Europe/Amsterdam'\n    }\n}\n\ncalendar.createEvent(fixedTimeEvent)\n    .then(event =\u003e {\n        // do something with the event\n    })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklaaz0r%2Fgoogleapis-calendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklaaz0r%2Fgoogleapis-calendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklaaz0r%2Fgoogleapis-calendar/lists"}