PHP code example of zedwoo / online-marketing-api-toolkit

1. Go to this page and download the library: Download zedwoo/online-marketing-api-toolkit 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/ */

    

zedwoo / online-marketing-api-toolkit example snippets



use Zedwoo\OnlineMarketingApiToolkit\Sistrix\SistrixClient;
$client = SistrixClient::factory(array(
									 'api_key' => 'SISTRIX_API-Key'
								));
$command = $client->getCommand('credits');
$result = $command->execute(); // returns an array with the result

 curl -sS https://getcomposer.org/installer | php

php composer.phar create-project zedwoo/online-marketing-api-toolkit projekt_name

php composer.phar install