2017 © Pedro Peláez
 

library responsys

image

mykehsd/responsys

  • Saturday, May 18, 2013
  • by mykehsd
  • Repository
  • 1 Watchers
  • 5 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Responsys PHP Api Client

This library supports most methods of the responsys api. You can: - Create folders - Submit forms - Create new campaigns - Manage data sources, (*1)

State

This is considered beta state but production ready., (*2)

Installation

Installation is done via the wonderful composer package. Once composer is installed, (*3)

composer require mykehsd/responsys

Usage

The first step is to initiate your client object with you login information, (*4)

$client = new Client('username', 'password');

#Create folders
$client->createFolder("My New Folder");

#Create Datasource
$client->createDataSource("ds_name", array(
    array(
        "EMAIL_ADDRESS" => "test@example.com",
    )
), 'My New Folder');

#Trigger form submission
$client->submitForm("My API Form", array(
    "NAME" => "John Smith",
    "EMAIL" => "test@example.com"
));

Notes

All methods can be chained together to create a simple interface ``` $client ->createFolder("New Folder" ->submitForm("My API Form", array( "NAME" => "John Smith", "EMAIL" => "test@example.com" ));, (*5)

The Versions

18/05 2013

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

api email responsys