事件参数kind =“calendar#event”的用途是什么。在谷歌日历API
问题描述:
什么是事件参数的目的事件参数kind =“calendar#event”的用途是什么。在谷歌日历API
样= “#日历事件”
。在google calendar API
?
参考链接 - >
https://developers.google.com/google-apps/calendar/v3/reference/events
答
集合的类型(“calendar#events”)。
它会根据documentation来告诉您正在使用的资源类型。
例如:
您都可以从日历事件数据,以便"kind"
将
{
"kind": "calendar#events",
"etag": "\"00000000000000000\"",
"summary": "[email protected]",
"updated": "2098-09-16T21:11:56.805Z",
"timeZone": "Asia/Manila",
"accessRole": "owner",
"defaultReminders": [
{
"method": "popup",
"minutes": 10
}
]
{...}
}
另一个例子是从日历颜色
{
"kind": "calendar#colors",
"updated": "2012-02-14T00:00:00.000Z",
"calendar": {
"1": {
"background": "#FFFFFF",
"foreground": "#AAAAAA"
},
{...}
}
}
的日历列表获取数据最后一个例子,
{
"kind": "calendar#calendarList",
"etag": "\"p324cv3ddpuldc0g\"",
"nextSyncToken": "CIjPja3PqtYCEhNhbWFnbmFiZUBnb29nbGUuY29t",
"items": [
{
"kind": "calendar#calendarListEntry",
"etag": "\"00000000000000000\"",
"id": "[email protected]",
"summary": "My summary",
"timeZone": "UTC",
"colorId": "1",
"backgroundColor": "0000001",
"foregroundColor": "#5555555",
"selected": true,
"accessRole": "owner",
"defaultReminders": []
},
{...}
}
希望这会有所帮助。
答
这仅仅是信息资源标识符。
我怎样才能与某人共享辅助日历并获得我与谁共享此辅助日历的人员列表?请指导我没有从Google日历api中获得任何参考。 –