Skip to content

Instantly share code, notes, and snippets.

@Halama
Last active December 20, 2015 12:09
Show Gist options
  • Save Halama/6129076 to your computer and use it in GitHub Desktop.
Save Halama/6129076 to your computer and use it in GitHub Desktop.
<?php
/**
* Storage API table write example
*/
$client = new \Keboola\StorageApi\Client('your_token');
$csvFile = new Keboola\Csv\CsvFile(__DIR__ . '/my-file.csv.gz', ',', '"');
$client->writeTableAsync('in.c-main.my-table', $csvFile);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment