{"id":21534630,"url":"https://github.com/danesparza/calendar-service","last_synced_at":"2025-04-10T01:43:34.914Z","repository":{"id":28229854,"uuid":"31734444","full_name":"danesparza/calendar-service","owner":"danesparza","description":":date: A microservice to return Google calendar events in JSON format","archived":false,"fork":false,"pushed_at":"2018-07-03T14:39:51.000Z","size":14,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T03:24:02.326Z","etag":null,"topics":["calendar-service","go","google-calendar","json","json-format"],"latest_commit_sha":null,"homepage":"","language":"Go","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/danesparza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-05T20:23:28.000Z","updated_at":"2024-10-06T08:26:01.000Z","dependencies_parsed_at":"2022-07-17T20:47:06.572Z","dependency_job_id":null,"html_url":"https://github.com/danesparza/calendar-service","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2Fcalendar-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2Fcalendar-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2Fcalendar-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danesparza%2Fcalendar-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danesparza","download_url":"https://codeload.github.com/danesparza/calendar-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142366,"owners_count":21054629,"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":["calendar-service","go","google-calendar","json","json-format"],"created_at":"2024-11-24T03:12:07.544Z","updated_at":"2025-04-10T01:43:34.885Z","avatar_url":"https://github.com/danesparza.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calendar-service [![Circle CI](https://circleci.com/gh/danesparza/calendar-service.svg?style=shield)](https://circleci.com/gh/danesparza/calendar-service)\nA microservice to return Google calendar events in JSON format.  \n\n[Download the latest release for your platform here](https://github.com/danesparza/calendar-service/releases/latest)\n\n### Starting and testing the service\nTo start the service, just run `calendar-service`.  \n\nIf you need help, just run `calendar-service --help`.\n\nThere are a few command line parameters available:\n\nParameter       | Description\n----------      | -----------\nauthEmail       | The OAuth 2.0 [service account email address](https://developers.google.com/console/help/new/#serviceaccounts), as listed in your project in the [Google Developer's console](https://console.developers.google.com)\nauthSubject     | The email address to impersonate.  The request will be made on behalf of this account, so you need ownership of this user account\nkeyFile         | The location of the PEM encoded keyfile to authenticate your service account\nport            | The port the service listens on.  \nallowedOrigins  | comma seperated list of [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing) origins to allow.  In order to access the service directly from a javascript application, you'll need to specify the origin you'll be running the javascript site on.  For example: http://www.myjavascriptapplication.com\n\nOnce the service is up and running, you can connect to it using\n`http://yourdomain.com:3000/calendar/calendarid` where `calendarid` is the Google calendar id you'd like information for.  \n\nExample: `http://yourdomain:3000/calendar/mg2l41ag8ua062trmktgdq6v90@group.calendar.google.com`\n\nTo test your service quickly, you can use the [Postman Google Chrome Extension](https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en) to call the service and see the JSON return format.\n\nCalendar information will be returned as a [JSON payload outlined on the Google Calendar developer website](https://developers.google.com/google-apps/calendar/v3/reference/events).\n\n### Building\n#### Prerequisites\n*To build, make sure you have the latest version of [Go](http://golang.org/) installed.  If you've never used Go before, it's a quick install and [there are installers for multiple platforms](http://golang.org/doc/install), including Windows, Linux and OSX.*\n\n#### Quick Start\n\nRun the following commands to get latest and build.\n\n```bash\ngo get github.com/danesparza/calendar-service\ngo build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanesparza%2Fcalendar-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanesparza%2Fcalendar-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanesparza%2Fcalendar-service/lists"}