Skip to content

Newsman/newsman-api-php

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Newsman PHP API Client - version 1.2

This is the Newsman App PHP API client for API version 1.2.

Newsman - Smart Email Service Provider

Newsman is a Smart Email Service Provider. We send newsletters and automate ecommerce on behalf of our customers.

About Newsman API - version 1.2

Our current API version is 1.2. API documentation can be found here:

Our API requires an API KEY which you can generate in your Account and your Newsman User id.

Requirements

Newsman PHP API requires curl installed:

Example

<?php
$client = new Newsman_Client($newsman_user_id, $api_key);
$ret = $client->list->all();
?>

String Encoding

Please make sure all strings are UTF-8 encoded.

Example

More detailed examples can be found here.

Composer Install

Put a file named composer.json at the root of your project, containing your project dependencies:

{
    "require": {
        "newsman/api": "1.0.4"
    }
}

Install Composer In Your Project Run this in your command line:

curl -sS https://getcomposer.org/installer | php

Execute this in your project root.

php composer.phar install