Google Api日历“$ service-> calendars-> insert($ calendar)”

时间:2015-05-04 18:12:45

标签: api calendar google-api google-calendar-api

我是新手,但我想在PHP中使用谷歌API,但它不起作用。我创建了service param $service = new Google_Service_Books($client);,在我尝试$service->calendars->insert($calendar);之后,我Notice: Undefined property: Google_Service_Books::$calendarsCalendars是问题,但现在我不知道我该做什么。 SRC: https://developers.google.com/api-client-library/php/start/get_started https://developers.google.com/google-apps/calendar/v3/reference/calendars/insert#auth

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

谢谢不要恐慌,这真的是“$ service = new Google_Service_Calendar($ client);”