terra-firma/hominid — pull request #49 by michelegera (2012-06-21 01:21:28+00:00)
Title: Find lists by name or ID using filters

Hi!

As I was working with Hominid today, I came across a problem with a couple of finder methods for Lists.

Since Mailchimp's lists() method returns lists in batches (of 25 elements by default, up to 100 elements max), find_list_by_name and find_list_by_id won't be able to find a result if it is beyond the first batch.

Using filters as per [Mailchimp's documentation](http://apidocs.mailchimp.com/api/1.3/lists.func.php) allows to filter by ID or name on all lists, regardless of their total number.

Unfortunately, it doesn't seem we can do the same for web_id at the moment.

Thanks,
Michele