mailium/api-wrapper-php

Mailium API Wrapper for PHP

1.0.3 2016-09-24 08:29 UTC

This package is not auto-updated.

Last update: 2024-05-11 17:39:56 UTC


README

Latest Stable Version Monthly Downloads License

For more details about API v3, please visit our help section at https://github.com/mailium/api-wrapper-php

Installation

Simply add the package to your composer.json file and run composer update.

"mailium/php-api-wrapper": "dev-master"

Or go to your project directory where the composer.json file is located and type:

composer require "mailium/php-api-wrapper"

Demo

Either ACCESS_TOKEN or API_KEY must be set.

  $mailiumApi = new Mailium\API\MailiumAPI3('ACCESS_TOKEN', 'YOUR_API3_KEY', 'SUBDOMAIN', 'json');
  $mailiumApi->run('List.GetList',array());

  print_r($mailiumApi->Result);

Documentation

https://github.com/mailium/api-wrapper-php