PHP code example of keboola / gooddata-php-client

1. Go to this page and download the library: Download keboola/gooddata-php-client library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

keboola / gooddata-php-client example snippets






$client = new \Keboola\GoodData\Client(KBGDC_API_URL);
$client->login(KBGDC_USERNAME, KBGDC_PASSWORD);

$pid = $client->getProjects()->createProject('Project name', KBGDC_AUTH_TOKEN);
json
{
    "eboola/gooddata-php-client": "~1.0"
    }
}