mailgun / mailgun-php

Mailgun's Official SDK for PHP
http://www.mailgun.com
MIT License
1.09k stars 314 forks source link

Get all lists #877

Closed anckorweb closed 10 months ago

anckorweb commented 10 months ago

It would be good to have an endpoint to retrieve all the mailing lists. If such an endpoint exists, I can't find it; in the previous version, it was as simple as making a request to "/lists", but now I can't do that...

In the MailingList class, the show() method could be modified so that when the $address parameter is null, the response would include all the lists (only the main data).

Is this possible? I haven't made a pull request because the endpoint does not exist.

Thank you.