我需要從日曆ID中獲取日曆名稱。我已提供正確的Google日曆ID,並通過api發送,以獲取日曆詳細信息並獲取日曆名稱。無法通過API使用日曆ID獲取Google日曆名稱
https://www.googleapis.com/calendar/v3/calendars/en.indian#[email protected]
Method type: GET
Content-Type: application/json
Authorization: Bearer <latest access_token>
我使用Google Calendar API在線檢查了它,它工作正常。但是當我通過郵遞員或在我的Java代碼中傳遞時,接收到以下json。當我給像en.indian#[email protected](Holidays in India)
calendarlist的corect調用是https://www.googleapis.com/calendar/v3/users/me/calendarList,它將顯示您已安裝在日曆列表中的日曆。你不能通過它的日曆。你究竟想要做什麼? – DaImTo
我想從日曆ID獲取日曆名稱en.indian#[email protected] –
請修改您的問題並加入http://stackoverflow.com/help/mcve – DaImTo