PHP code example of nousefreak / cnetsync
1. Go to this page and download the library: Download nousefreak/cnetsync 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/ */
nousefreak / cnetsync example snippets
$config = new \CnetSync\Configuration\Configuration();
$config->setApiKey('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx');
$sync = new \CnetSync\CnetSync($config);
$sync->setPersister(new \CnetSync\Persister\Persister());
$sync->run();