PHP code example of marketingplatform / api_parser_v2

1. Go to this page and download the library: Download marketingplatform/api_parser_v2 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/ */

    

marketingplatform / api_parser_v2 example snippets




$parser = new ApiParser($settings);

$listid = 24;
$emailaddress = "[email protected]";
$mobileNumber = "72444444";
$mobilePrefix = "45";
$confirmed = false;
$addToAutoreposnders = false;

$result = $parser->AddProfileToList($listid, $emailaddress, $mobileNumber, $mobilePrefix, $confirmed, $addToAutoreposnders);

print_r($result);