/contactspace

A PHP wrapper for ContactSPACE

Primary LanguagePHP

wwwroth/contactspace

A quick, simple PHP SDK for interfacing with contactSPACE's API. Only JSON ?outputtype is supported.

Installing

composer require wwwroth/contactspace-sdk

Example Usage

$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();