allphat / litmus
Sdk for the Litmus Customer RESTful API
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/allphat/litmus
Requires
- symfony/http-client: 5.1.*
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]