nuffic / yii2-getresponse
There is no license information available for the latest version (1.6.0) of this package.
Yii2 getresponse.com api client component
1.6.0
2023-08-18 15:22 UTC
Requires
- guzzlehttp/guzzle: ^6.3 | ^7.0
- yiisoft/yii2: ^2.0
Requires (Dev)
- codeception/codeception: ^5.0.0 | ^4.0
- codeception/module-asserts: ^1.0 | ^3.0
- phpunit/phpunit: <10.0.0
- yiisoft/yii2-coding-standards: ^2.0
This package is auto-updated.
Last update: 2024-11-18 18:08:16 UTC
README
Master:
Develop:
Installation:
Via composer:
composer.phar require "nuffic/yii2-getresponse":"~1.2.0"
Usage:
$client = new \nuffic\getresponse\Client([
'apiKey' => 'API_KEY',
'domain' => 'example.org', # domain for enterprise users
]);
$client->addContact('asd123', 'user@email.com');
Available methods:
searchContact('user@email.com'); // Gets single contact ID
searchContactInAllLists('user@email.com'); // Gets an array of contact IDs
addContact('asd123', 'user@email.com', ['qwer12' => 'super awesome value']); // campaign ID, email, custom fields
updateCustomFields('asd123', ['qwer12' => 'super awesome value']); // contact ID, custom fields
deleteContact('asd123'); // Removes contact by ID