wwwroth/contactspace-sdk

A quick, simple PHP SDK for interfacing with contactSPACE's JSON API.

Installs: 158

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 2

pkg:composer/wwwroth/contactspace-sdk

1.6 2020-08-11 19:43 UTC

README

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