allphat/litmus

There is no license information available for the latest version (0.0.1) of this package.

Sdk for the Litmus Customer RESTful API

0.0.1 2020-10-27 09:51 UTC

This package is auto-updated.

Last update: 2024-04-29 04:46:44 UTC


README

How to use

First, instantiate client with your username and password

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

Call resource needed. Check services classes to see what endpoints methods are available.

example: get list of support email via instant enndpoint $result = $client->instant->getSupportedEmailClients();

You can pass array url parameters or post parameters when endpoints allow you to. Yous should refer to official litmus configuration to know availiable options $params['query'] = [array of url params] $params['post'] = [array of post params]