gpt4 book ai didi

calendar - 创建 "Add to Google Calendar"链接需要哪些参数?

转载 作者:行者123 更新时间:2023-12-03 05:56:39 28 4
gpt4 key购买 nike

我们可以使用这个link通过参数Google日历添加新事件

https://www.google.com/calendar/render?
action=TEMPLATE&
text=EventName&
dates=20131206T050000Z/20131208T060000Z
&location=EventLocation&
sprop=name:Name&
sprop=website:EventWebite&
details=EventDetail&
sf=true&
output=xml

但我找不到任何有关这些参数的文档。

有人知道在哪里吗?

最佳答案

有关可用参数的说明:

anchor address:
http://www.google.com/calendar/event?
This is the base of the address before the parameters below.


action:
action=TEMPLATE
A default required parameter.

src:
Example: src=default%40gmail.com
Format: src=text
This is not covered by Google help but is an optional parameter
in order to add an event to a shared calendar rather than a user's default.

text:
Example: text=Garden%20Waste%20Collection
Format: text=text
This is a required parameter giving the event title.

dates:
Example: dates=20090621T063000Z/20090621T080000Z
(i.e. an event on 21 June 2009 from 7.30am to 9.0am
British Summer Time (=GMT+1)).
Format: dates=YYYYMMDDToHHMMSSZ/YYYYMMDDToHHMMSSZ
This required parameter gives the start and end dates and times
(in Greenwich Mean Time) for the event.

location:
Example: location=Home
Format: location=text
The obvious location field.

trp:
Example: trp=false
Format: trp=true/false
Show event as busy (true) or available (false)

sprop:
Example: sprop=http%3A%2F%2Fwww.me.org
Example: sprop=name:Home%20Page
Format: sprop=website and/or sprop=name:website_name

add:
Example: add=default%40gmail.com
Format: add=guest email addresses

details: (extra)
Example: details=Event%20multiline%0Adetails
Format: details=description text (google also accepts html in this text)

http://useroffline.blogspot.com/2009/06/making-google-calendar-link.html

关于calendar - 创建 "Add to Google Calendar"链接需要哪些参数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22757908/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com