PHP code example of picodi-lab / expertsender-api-client
1. Go to this page and download the library: Download picodi-lab/expertsender-api-client 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/ */
picodi-lab / expertsender-api-client example snippets
$apiKey = ''; // your api key
$expertSender = new ExpertSenderApi($apiKey);
# lists management:
$lists = $expertSender->Lists();
// $lists->create('testList');
$subscribers = $expertSender->Subscribers();
// $testSubscriber = $subscribers->get('[email protected]');
$dataTableRows = $expertSender->DataTables()->getData('testTable', ['columns' => ['column1', 'column2']]);
// $activities
// fields
// lists
// segments
// all above working in a very similar way.