Skip to content

JRSaunders/GetResponse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GetResponse

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 );