2015-05-21 77 views
1

我有一個公共谷歌日曆:爲什麼我無法使用完整的Google日曆供稿?

enter image description here

我想讀的JSON格式的約會數據。

我使用這個URL https://www.google.com/calendar/feeds/{calendar_id}%40group.calendar.google.com/public/basic?alt=json,它工作正常。但是,當我使用這個https://www.google.com/calendar/feeds/{calendar_id}%40group.calendar.google.com/public/full?alt=json我有Error 403

那麼,是否有任何額外的日曆設置允許讀取完整的日曆提要?

回答

1

我想應該是這樣的

https://www.googleapis.com/calendar/v3/calendars/{calendarid}/events?key={Your Public API Key} 

你需要註冊一個新的公共API,它可以通過寄存器在谷歌API控制檯(https://console.developers.google.com

+0

謝謝IVIN馬球索尼做的!有用! – Sergey

相關問題