Reputation: 23
I recognized that the return of CalendarList has changed. the summary value was person's name but now it returns email address.
my question is how can I get calendar name using calendar API?
tested url: https://developers.google.com/calendar/v3/reference/calendarList/list
◆ Before
{
"kind": "calendar#calendarList",
"items": [
{
"kind": "calendar#calendarListEntry",
"etag": "\"1578551131788000\"",
"id": "[email protected]",
"summary": "Test Calendar", // <-- calendar's name
"timeZone": "Asia/Tokyo",
◆Now
{
"kind": "calendar#calendarList",
"items": [
{
"kind": "calendar#calendarListEntry",
"etag": "\"1578551131788000\"",
"id": "[email protected]",
"summary": "[email protected]", // <-- email address
"timeZone": "Asia/Tokyo",
Upvotes: 2
Views: 106
Reputation: 116868
There is currently a bug in Google calendar. its not returning the title in the summary as it is documented to do Bug report can be found here.
Calendar.get on my primary calendar returns
{
"kind": "calendar#calendar",
"etag": "\"KfTgGrEyu1otuO_8YfN8ka6X3tg\"",
"id": "[email protected]",
"summary": "[email protected]",
"description": "test",
"timeZone": "Europe/Copenhagen",
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"eventHangout"
]
}
}
The documentation states that a calendar resource should return
summary = Title of the calendar.
Upvotes: 1