我有一个公共(public) Google 日历:
我想读取 JSON 格式的预约数据。
我使用此网址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
时,我有 错误 403
。
那么,是否有任何其他日历设置允许读取完整的日历源?
最佳答案
我觉得应该是这样
https://www.googleapis.com/calendar/v3/calendars/{calendarid}/events?key={Your Public API Key}
您必须注册一个新的公共(public) API,您可以通过在 google api 控制台中注册来实现 ( https://console.developers.google.com )
关于javascript - 为什么我不能使用完整的谷歌日历提要?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30372881/