Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

google calendar api push notifications php

$channel = new Google_Service_Calendar_Channel($client);
$channel->setId('00000000-0000-0000-0000-000000000001');
$channel->setType('web_hook');
$channel->setAddress('https://www.yourserver.com/handleWatch.php');
$watchEvent = $service->events->watch(yourCalendarId, $channel, array());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #google #calendar #api #push #notifications #php
ADD COMMENT
Topic
Name
7+2 =