jrsaunders/get-response

v1.0.0 2019-10-30 12:27 UTC

This package is auto-updated.

Last update: 2024-04-29 04:33:29 UTC


README

Get Response API

Example of use:

$gr = new \GetResponse\GetResponse('MyAPIkey','my360domain.com',null);

$contact = new \GetResponse\ValueObject\ContactByEmail('auser@emailaddress.com');

echo $contact->getName();

Create a Contact:

$gr = new \GetResponse\GetResponse('MyAPIkey','my360domain.com','iR');

$newContact = ( new \GetResponse\ValueObject\Contact() )->setName( 'John Smith' )->setEmail( 'john@smith.com' );

$gr->getContacts()->createByContact( $newContact );