How can I get all Subscriber with custom fields for the same Campaign?

Hi all,

I wrote a python application, which uses the createsend-python api to connect to Campaign Monitor. I would like to ask, that how can I get all Subscriber with the custom fields for the same Campaign?

I'm doing this now, but if I have 2500 recipients, than it means 2500 queries which is very slowly.

campaign = Campaign(auth, campaign_id)
recipients = campaign.recipients().Results

for r in recipients:
    subscriber = Subscriber(auth).get(r.ListID, r.EmailAddress)

Thanks for any help,
Bence

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098