composer require ecomailcz/ecomail
$ecomail = new Ecomail('API_KEY');
$ecomail->getListsCollection();
When there are more results, you will get last_page
parameter in your response, which you can then use in another request.
$ecomail->page(2)->getListsCollection();
You will find your API key in your account in "integrations" section.
All methods returns: array stdClass string
For more detailed documentation please visit: https://ecomailczv2.docs.apiary.io/