简体   繁体   English

从PHP提取Google日历事件

[英]Fetch google calendar events from php

I've been playing with the samples from this site: http://code.google.com/intl/sv-SE/apis/calendar/v3/using.html 我一直在研究来自以下站点的示例: http : //code.google.com/intl/sv-SE/apis/calendar/v3/using.html

All I want to do fetch the cal data from a public calendar. 我要做的只是从公共日历中获取校准数据。 But so far there's always something that makes me hit a wall. 但是到目前为止,总有一些东西使我碰壁。 I'm doing a webapp but it always pointing to a specific calendar that is public. 我正在做一个webapp,但它始终指向特定的公开日历。 I don't need to use oauth. 我不需要使用oauth。 only the api key. 只有api键。 But I really can't find any samples of doing this. 但是我真的找不到这样做的任何样本。

Any hint to get me in the right direction. 任何使我朝正确方向发展的提示。 I don't even know what to try after trying the samples on that page. 在尝试该页面上的示例后,我什至不知道该尝试什么。

see actually how it processed using oauth here. 在这里实际查看如何使用oauth处理。 https://code.google.com/oauthplayground/ you can get step to implement this. https://code.google.com/oauthplayground/您可以执行此步骤。

you have to use 你必须使用

https://www.googleapis.com/calendar/v3/calendars/ {calendarId}/events/{eventId} https://www.googleapis.com/calendar/v3/calendars/ {calendarId} / events / {eventId}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM