{"id":35778759,"url":"https://github.com/nstringham/google-calendar-event-fetcher","last_synced_at":"2026-01-27T18:19:53.337Z","repository":{"id":331996899,"uuid":"1126325868","full_name":"nstringham/google-calendar-event-fetcher","owner":"nstringham","description":"Fetch and transform events from the Google Calendar API","archived":false,"fork":false,"pushed_at":"2026-01-11T23:41:52.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T03:23:34.487Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nstringham.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-01T17:03:13.000Z","updated_at":"2026-01-11T06:50:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nstringham/google-calendar-event-fetcher","commit_stats":null,"previous_names":["nstringham/google-calendar-event-fetcher"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nstringham/google-calendar-event-fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstringham%2Fgoogle-calendar-event-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstringham%2Fgoogle-calendar-event-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstringham%2Fgoogle-calendar-event-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstringham%2Fgoogle-calendar-event-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nstringham","download_url":"https://codeload.github.com/nstringham/google-calendar-event-fetcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nstringham%2Fgoogle-calendar-event-fetcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-07T05:53:27.438Z","updated_at":"2026-01-27T18:19:53.325Z","avatar_url":"https://github.com/nstringham.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Calendar Event Fetcher\n\nFetch and transform events from the Google Calendar API\n\n## Features\n\n- Get events from Google Calendar\n- Transform Events into a form that works for you application\n- Only fetch each event once\n- Subscribe to the full list of all events for reactivity\n- TypeScript Types\n\n## Installation\n\n```bash\nnpm install google-calendar-event-fetcher\n```\n\n## Example Usage\n\n```js\nimport { GoogleCalendarEventFetcher, isAllDayEvent, convertToDate } from \"google-calendar-event-fetcher\";\n\nconst googleCalendarEventFetcher = new GoogleCalendarEventFetcher({\n  calendarId: \"your_google_calendar_id@group.calendar.google.com\",\n  apiKey: \"YOUR_GOOGLE_API_KEY\",\n  transform: (event) =\u003e {\n    return {\n      title: event.summary,\n      allDay: isAllDayEvent(event),\n      start: convertToDate(event.start),\n      end: convertToDate(event.end),\n      description: event.description,\n    };\n  },\n});\n\ngoogleCalendarEventFetcher.subscribe((events) =\u003e {\n  console.log(\"All events:\", events);\n});\n\ngoogleCalendarEventFetcher.fetchEvents(new Date(\"2026-01-01\"), new Date(\"2026-02-01\"));\n```\n\n## Example Usage with FullCalendar\n\n```js\nimport { Calendar } from \"@fullcalendar/core\";\nimport dayGridPlugin from \"@fullcalendar/daygrid\";\nimport googleCalendarPlugin from \"google-calendar-event-fetcher/fullcalendar\";\n\nconst calendarElement = document.getElementById(\"calendar\");\nconst calendar = new Calendar(calendarElement, {\n  plugins: [dayGridPlugin, googleCalendarPlugin],\n  initialView: \"dayGridMonth\",\n  events: {\n    googleCalendarId: \"your_google_calendar_id@group.calendar.google.com\",\n    googleCalendarApiKey: \"YOUR_GOOGLE_API_KEY\",\n  },\n});\n\ncalendar.render();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstringham%2Fgoogle-calendar-event-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnstringham%2Fgoogle-calendar-event-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnstringham%2Fgoogle-calendar-event-fetcher/lists"}