Google日历API日历ID和事件ID [英] Google Calendar API calendar id and event id
问题描述
我正在学习如何访问用于创建和访问活动的Google日历API。我正在尝试使用OAuth 2.0 Playground了解API。我正在努力为calendarid和eventid设置什么
https://www.googleapis.com/calendar/v3/calendars / {calendarId} / events / {eventId}
任何人都可以引导我。
问候,
Sureshkumar Menon
calendarId是您的日历的电子邮件地址。如果您只是使用自己的,那么使用字符串primary。
eventId是要修改的事件的ID。如果你没有事件,你应该使用'insert'调用创建一个,这个调用将包含一个eventId参数,你可以存储这个参数并在稍后修改它,或者使用'list'调用来获取事件。
I am learning on how to access google calendar API for creating and accessing events. I am trying to understand API using OAuth 2.0 Playground. I am struggling on what to set for calendarid and eventid
https://www.googleapis.com/calendar/v3/calendars/{calendarId}/events/{eventId}
Can any one guide me.
Regards, Sureshkumar Menon
calendarId is the email address of your calendar. If you're just using your own, then use the string "primary".
eventId is the ID of the event that you want to modify. If you don't have an event, you should either create one with the 'insert' call, which will include an eventId parameter that you can store and use to modify it later, or use the 'list' call to get a list of events.
这篇关于Google日历API日历ID和事件ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!