Skip to content

User Feed

Gareth James edited this page Apr 30, 2021 · 1 revision

User Feed

Purpose

Sens customer (users) data to PureClarity.

Class

\PureClarity\Api\Feed\Type\User

Usage

$feedData = <data pulled from your system>

$feed = new \PureClarity\Api\Feed\Type\User($accessKey, $secretKey, $region);

$feed->start();

foreach ($feedData as $row) {
    $feed->append($row);
}

$feed->end();

See Data feed overview for more details

Format

The following array keys must be present when passed to the append function:

Key Description Empty allowed
UserId User ID No

For specific formatting of the above fields, and further fields you can add, see the user feed documentation

Usage

Accounts

  • Signup
  • Validation
  • Delete

Data feeds

Deltas

Information

  • Feedback
  • Dashboard information
  • Next Steps

Utility

  • Supported Region List
  • Supported Timezone list
  • Endpoint URL list

Clone this wiki locally