PHP code example of datatheke / client
1. Go to this page and download the library: Download datatheke/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/ */
datatheke / client example snippets
// src/test.php
$loader = ent();
$client->setCredentials(MY_USERNAME, MY_PASSWORD);
// or $client->setTokenData('ACCESS_TOKEN', 'REFRESH_TOKEN', 'EXPIRES_TIMESTAMP');
$libraries = $client->getLibraries();
foreach ($libraries['items'] as $library) {
echo $library['name']."\n";
}