c6digital/engaging-networks-php

There is no license information available for the latest version (v0.3.1) of this package.

v0.3.1 2024-03-13 15:33 UTC

This package is auto-updated.

Last update: 2024-04-13 15:51:39 UTC


README

Installation

composer require c6digital/engaging-networks-php

Usage

Create a new EngagingNetworks client.

use C6Digital\EngagingNetworks\EngagingNetworks;

$client = new EngagingNetworks('my-api-key');

Authenticate and retrieve a temporary authorization token.

$client->authenticate();

Make a page request

$client->pageRequest(pageId: 12345, data: [
    // ...
]);

Retrieve a Supporter by ID

$client->getSupporterById(supporterId: 12345, parameters: [
    // ...
]);