GoogleSheetsCron
For remote execution of import or export, such as via cron.
Snippet parameters:
Name | Description |
---|---|
id | Object ID. |
type | Object type (export||import). |
Example:
php
{set $result = 'GoogleSheets' | snippet: [
'type' => 'export',
'id' => 5
]}
{$result|print}
Response:
text
Array
(
[success] => 1
[message] =>
[total] => 132
[errors] => Array
(
)
[object] => Array
(
[completed] =>
[updates] => Array
(
[updatedRows] => 132
[updatedColumns] => 16
[updatedCells] => 2112
)
)
)