问题描述
我创建了一些 Google 日历事件,现在我想以编程方式对它们进行一些操作.
I created some Google Calendar events and now I would like to do some operations on them programmatically.
问题是我没有他们的 ID.
Trouble is I don't have their IDs.
当我进入日历并点击事件时,我无处可以看到 ID.
When I go into the calendar and click on the event, there is nowhere where I can see the ID.
有人知道我在哪里可以找到吗?
Does anyone know where I can find it?
推荐答案
在 Google 日历网站上
因为他最初询问如何点击进入日历并找到特定事件的 ID,因为这也是我需要知道的操作:
On The Google Calendar Website
Since he originally asked how to click into the calendar and find the ID of a particular event, and since that's what I needed to know how to do too:
点击 Google 日历中的活动.
Click the event in your Google Calendar.
它会带你到一个带有 URL 的页面,例如 https://calendar.google.com/calendar/render?pli=1#eventpage_6%7Ceid-NGh0Z3BtbTFobWFrNzQ0cjBrYmtkY29kYXIgZXVndTlrYW4xZZza-dwzNpmx
https://calendar.google.com/calendar/render?pli=1#eventpage_6%7Ceid-NGh0Z3BtbTFobWFrNzQ0cjBrY/code>
It will take you to a page with a URL such as https://calendar.google.com/calendar/render?pli=1#eventpage_6%7Ceid-NGh0Z3BtbTFobWFrNzQ0cjBrYmtkY29kYXIgZXVndTlrYW4xZGRpMXBtaTZzazNpYjWoNmdAZw-1-0-
在 URL 中查找eid".
Look for "eid" in the URL.
选择并复制eid-
和下一个-
之间的字符串.(在我的示例中,它是 NGh0Z3BtbTFobWFrNzQ0cjBrYmtkY29kYXIgZXVndTlrYW4xZGRpMXBtaTZzazNpYjWoNmdAZw
.)
Select and copy the string between eid-
and the next -
. (In my example here, it is NGh0Z3BtbTFobWFrNzQ0cjBrYmtkY29kYXIgZXVndTlrYW4xZGRpMXBtaTZzazNpYjWoNmdAZw
.)
现在您需要从 Base64 格式解码.您可以将该字符串粘贴到诸如 https://www.base64decode.org/ 之类的工具中.
Now you need to decode from Base64 format. You could paste that string into a tool such as https://www.base64decode.org/.
结果将是由空格分隔的两个字符串.第一个字符串是您的事件 ID.
The result will be two strings separated by a space. The first string is your Event ID.
这篇关于如何找到我的 Google 日历活动的活动 ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!