Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does the calendar need to be public? #48

Closed
lollilol opened this issue Sep 26, 2024 · 1 comment · Fixed by #50
Closed

does the calendar need to be public? #48

lollilol opened this issue Sep 26, 2024 · 1 comment · Fixed by #50
Assignees

Comments

@lollilol
Copy link

so after setting the project up for 4 hours i finally got it working:

syncing events
Request URL: https://content.googleapis.com/calendar/v3/calendars/***/events?singleEvents=true&timeMin=2024-09-26T20%3A30%3A30.986Z&timeMax=2024-10-10T20%3A30%3A30.986Z&maxResults=100&orderBy=startTime&key=***
Response status: 200
Received 0 calendar events.

This question should actually be answered by google docs, but i couldn't find anything about it. Everyone either says you should use a service account or oauth.
I only got it working by making the google calendar public. Is that the intended way? Because i can't find a way to give the api key permissions to my specific calendar.

@bmiddha
Copy link
Member

bmiddha commented Oct 12, 2024

Adding support for service accounts and private calendars in #50

@bmiddha bmiddha self-assigned this Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants