asimlqt / php-google-spreadsheet-client

A PHP library for accessing and manipulating Google Spreadsheets
Other
543 stars 154 forks source link

Method to insert multiple rows #66

Closed SimonEast closed 9 years ago

SimonEast commented 9 years ago

Is there a way to insert multiple rows at a time? Currently calling $listFeed->insert() makes a HTTP request for each row which is terribly slow if needing to insert multiple.

Or is this something I could perhaps submit a pull request for?

asimlqt commented 9 years ago

Yes there is, have a look at the following commit: https://github.com/asimlqt/php-google-spreadsheet-client/commit/f1042119c1662c885125a4dc4b9e83299e74afe6

MULLAINATHAN commented 8 years ago

Hi I need to insert multiple rows. I want know how to use Batch.? Is anybody have sample code.? Please help me.

asimlqt commented 8 years ago

I've added an example to the README file: https://github.com/asimlqt/php-google-spreadsheet-client#updating-multiple-cells-with-a-batch-request