Batch request Google Calendar php API
问题 I'm working on a google Calendar sync with my application. I'm using the latest google-api-php-client Now I want to update all my event, so i want to use the batch operation. The example code of the php client api is: $client = new Google_Client(); $plus = new Google_PlusService($client); $client->setUseBatch(true); $batch = new Google_BatchRequest(); $batch->add($plus->people->get(''), 'key1'); $batch->add($plus->people->get('me'), 'key2'); $result = $batch->execute(); So when I "translate"