{"id":28377967,"url":"https://github.com/showrin/google-calendar-event-automation","last_synced_at":"2025-06-26T21:31:19.041Z","repository":{"id":293891226,"uuid":"985420281","full_name":"Showrin/google-calendar-event-automation","owner":"Showrin","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-17T18:38:41.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T01:39:20.292Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Showrin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-17T18:15:50.000Z","updated_at":"2025-05-17T18:38:44.000Z","dependencies_parsed_at":"2025-05-18T01:15:41.764Z","dependency_job_id":null,"html_url":"https://github.com/Showrin/google-calendar-event-automation","commit_stats":null,"previous_names":["showrin/google-calendar-event-automation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Showrin/google-calendar-event-automation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Showrin%2Fgoogle-calendar-event-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Showrin%2Fgoogle-calendar-event-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Showrin%2Fgoogle-calendar-event-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Showrin%2Fgoogle-calendar-event-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Showrin","download_url":"https://codeload.github.com/Showrin/google-calendar-event-automation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Showrin%2Fgoogle-calendar-event-automation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262145143,"owners_count":23265875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-05-30T01:35:00.750Z","updated_at":"2025-06-26T21:31:19.036Z","avatar_url":"https://github.com/Showrin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Calendar Event Creation using NodeJs\n\n\n\n## Description\n\nThis project automates the creation of Google Calendar events using NodeJS. It provides a simple way to programmatically manage calendar events through Google's Calendar API.\n\n\n\n## Prerequisites\n\n- Node.js installed\n- Google Cloud Console account\n- Google Calendar API enabled\n- OAuth 2.0 credentials configured\n\n\n\n## Environment Variables\n\nRequired environment variables:\n- `GOOGLE_CLIENT_ID`: OAuth 2.0 Client ID\n- `GOOGLE_CLIENT_SECRET`: OAuth 2.0 Client Secret\n\n\n\n## Setup\n\n1. Create `.env` file. And copy content from `.env.example`. Provide necessary values.\n2. Run `node ./api/index.js`.\n\n\u003e If you are using vercel, run `vercel dev`.\n\n\n\n## API Endpoints\n\n### Create Calendar Event\n`POST /api/meeting`\n\n**Headers:**\n```\nAuthorization: Bearer \u003crefresh-token-of-google-outh\u003e\n```\n\n**Body:**\n```json\n{\n  \"summary\": \"Event title\",\n  \"description\": \"Event description\",\n  \"startDateTime\": \"2023-01-01T10:00:00\",\n  \"endDateTime\": \"2023-01-01T11:00:00\",\n  \"guestEmails\": []\n}\n```\n\n### Update Calendar Event\n`PATCH /api/meeting/:eventId`\n\n**Parameters:**\n- `eventId`: ID of the event to update\n\n**Headers:**\n```\nAuthorization: Bearer \u003crefresh-token-of-google-outh\u003e\n```\n\n**Body:**\n```json\n{\n  \"summary\": \"Updated title\",\n  \"description\": \"Updated description\",\n  \"startDateTime\": \"2023-01-01T10:00:00\",\n  \"endDateTime\": \"2023-01-01T11:00:00\",\n  \"guestEmails\": []\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowrin%2Fgoogle-calendar-event-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshowrin%2Fgoogle-calendar-event-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowrin%2Fgoogle-calendar-event-automation/lists"}