PHP code example of deeparteffects / sdk-php
1. Go to this page and download the library: Download deeparteffects/sdk-php 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/ */
deeparteffects / sdk-php example snippets
key = '--Your API Key--';
$access_key = '--Your ACCESS Key--';
$secret_key = '--Your SECRET KEY--';
$api_instance = new \Deeparteffects\Client\Api\DefaultApi();
$api_instance->setApiKey($api_key);
$api_instance->setApiAccessKey($access_key);
$api_instance->setApiSecretKey($secret_key);
try {
$styles = $api_instance->stylesGet();
foreach ($styles as $style) {
print_r($style->getTitle());
}
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->stylesGet: ', $e->getMessage(), PHP_EOL;
}
{
"repositories": [
{
"type": "git",
"url": "https://github.com/deeparteffects/sdk-php.git"
}
],
"