title: Get only the updated events from google calendar using google client php api
body: <p>I am trying to sync google calendar with my website.I am using google client php api. Till now i am able to get all the events from google calendar.Is there a way to get only the updated events from google calendar.
  Below is the code to get the events from google calendar</p>
  
  <pre><code>$client = new Google_Client();
  
  $client-&gt;setApplicationName( $app_name ); 
  $client-&gt;setDeveloperKey( $app_key ); 
  $cal = new Google_Service_Calendar( $client );
  $calendarId = $app_id;
  
  $params = array(      
    'singleEvents' =&gt;   true,
    'orderBy'      =&gt;   'startTime',
  );
  $events = $cal-&gt;events-&gt;listEvents($calendarId, $params);
  foreach ( $events-&gt;getItems() as $event ) {
  echo $event-&gt;getSummary();
  }
  </code></pre>