I am using Google Calendar Api in my php project, and I every day get "Calendar usage limits exceeded" message when I doing insert query, but delete and list methods work fine⤠It is my insert function. who can help me?
function insertEvent($start, $end, $cId, $namePhoneClient,$myEmail,$trainerMail){
$client = getClient();
$service = new Google_Service_Calendar($client);
$event = new Google_Service_Calendar_Event(array(
'summary' => $namePhoneClient,
'start' => array(
'dateTime' => $start,
'timeZone' => 'Europe/Moscow',
),
'end' => array(
'dateTime' => $end,
'timeZone' => 'Europe/Moscow',
),
'recurrence' => array(
'RRULE:FREQ=DAILY;COUNT=1'
),
'attendees' => array(
array('email' => $myEmail),
array('email' => $trainerMail),
),
));
$calendarId = $cId;
$event_inserted = $service->events->insert($calendarId, $event);
return $event_inserted;
}