Treasure Data API Client
, (*1)
MOTIVATION
There are several implementation but PHP does not have ROBUST Treasure Data REST API client.
This Treasure Data API Client aims robust and provide useful features., (*2)
USAGE
composer.json, (*3)
{
"require": {
"chobie/treasuredata-api-client": "dev-master"
}
}
Example, (*4)
<?php
require dirname(__DIR__) . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "autoload.php";
$api = TreasureData_APIFactory::createClient();
$result = $api->getDatabaseList();
var_dump($result->getResult());
KEEP IN MIND
Unfortunately, PHP is really poor about processing BIG Data as some reasons., (*5)
So. I strongly recommend You process small result (at most under 1 million records) with this lib or downloading job result only., (*7)
Anyway, have fun with Treasure Data API and PHP!, (*8)
LICENSE
Apache License, (*9)