-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FR] Add Google Calendar API integration #32
Comments
# https://calendar.google.com/calendar/render?action=TEMPLATE&text=Example+Google+Calendar+Event&details=More+help+see:+https://support.google.com/calendar/thread/81344786&dates=20201231T160000/20201231T170000&recur=RRULE:FREQ%3DWEEKLY
import urllib.parse
base_url = "https://calendar.google.com/calendar/render"
params = {
"action": "TEMPLATE",
"text": "Ababagalamaga",
"details": "Перейдіть https://google.com/test для отримання додаткової інформації.",
"dates": "20240620T155200/20240620T155300", # YYYYMMDDTHHMMSS/YYYYMMDDTHHMMSS,
"ctz": "Europe/Kiev",
}
final_url = base_url + "?" + urllib.parse.urlencode(params)
print(final_url) This seems to work. Though, adding whole schedule will be tricky most likely. |
Hi, @hikionori, Since that was your request initially, I'd like to hear your opinion first. I see two ways of solving this issue:
The latter is what was originally requested, and what is waaay more convenient to the end user. I have no problems making one, but this will clearly take some time. Is it worth the effort, or is adding pairs manually good enough? Let me know. Sorry for the wait, by the way, I've finally got some free time and energy to spend on this project. |
Well, obviously there's a third option - close this issue and pretend it never existed, if no one really needs this. Let me know anyway. Here, or in DM's in Telegram, or in a channel/group: |
Originally posted by @hikionori in #31 (comment)
The text was updated successfully, but these errors were encountered: