PHP code example of wwwroth / contactspace-sdk
1. Go to this page and download the library: Download wwwroth/contactspace-sdk 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/ */
wwwroth / contactspace-sdk example snippets
$client = new \wwwroth\contactspace\Client([
'api_key' => '<APIKEY>'
]);
// 2.1 Add a Dataset
$client->createDataSet([
'initiativeid' => 5914,
'datasetname' => 'testdata',
'active' => 1
]);
// 2.7 Get Users
$client->getUsers();