2017-09-18 18 views

答えて

1

コレクションの種類(「カレンダー#イベント」)。

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": [] 
    }, 
{...} 
} 

希望します。

+0

私はセカンダリカレンダーをいくつか共有し、このセカンダリカレンダーを共有した人のリストを取得するにはどうすればよいですか?私はgoogle calendar apiからリファレンスを取得できませんでした。 –

1

それだけで有益なリソース識別子です。

関連する問題