Żądanie wsadowe API kalendarza Google PHP

Próbuję wysłać kilka zdarzeń za pośrednictwem żądania wsadowego do Kalendarza Google. Ale nie mogę zorientować się, jak to zrobić.https://developers.google.com/google-apps/calendar/batch nie pomaga mi.

require_once 'google-api-php-client/src/Google_Client.php';
require_once 'google-api-php-client/src/contrib/Google_CalendarService.php';

$client = new Google_Client();
$client->setUseBatch(true);
$batch = new Google_BatchRequest();

$uri = 'http://www.google.com/calendar/feeds/default/private/full/batch';
$batchContent = file_get_contents('xxxxx/google-api-php-client/batch.xml');    

$batch->add($batchContent);

batch.xml zawiera 2 -itemy. To wszystko do tej pory. Ale nic się nie stało.

Próbowałem też

$batch->execute() 

Ale to powoduje błąd bez komunikatu.

Moje pytanie: jak wysłać partię przez PHP do Kalendarza Google?

questionAnswers(1)

yourAnswerToTheQuestion