campaignmonitor / createsend-python

A Python library for the Campaign Monitor API
http://campaignmonitor.github.io/createsend-python
MIT License
57 stars 64 forks source link

Values of PageNumber and NumberOfPages seems inconsistent. #55

Open w-p opened 6 years ago

w-p commented 6 years ago

When retrieving a list of subscribers via List.active(), an empty list has 0 pages and 1 numbered page while a populated list has 1 pages and also 1 numbered page. In both cases the caller receives a 'page', right?

More explicitly:

Empty List:

    'NumberOfPages': 0,
    'RecordsOnThisPage': 0,
    'PageNumber': 1,
    ...

Populated List:

    'NumberOfPages': 1,
    'RecordsOnThisPage': 2,
    'PageNumber': 1,
    ...