Answer the question
In order to leave comments, you need to log in
How to create a Google calendar reminder using the API?
I am using api-client for php from google.
I'm trying to create a calendar reminder with the following code:
$this->event = new \Google_Service_Calendar_Event([
'summary' => $summary,
'description' => $description,
'start' => [
'date' => date_format($startDate, 'Y-m-d')
],
'end' => [
'date' => date_format($endDate, 'Y-m-d')
],
'reminders' => [
'useDefault' => false,
'overrides' => [
'method' => 'popup',
'minutes' => '10'
]
]
])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question