Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added basic Campaign, Template support plus added some minor improvements #13

Open
wants to merge 36 commits into
base: master
Choose a base branch
from

Conversation

knaak
Copy link

@knaak knaak commented May 18, 2012

Hi,

I needed to use MailChimp and upload a hundred thousand or so users with a few dozen list variables for segmentation. I found your library and started using it right away. I discovered that there were some features that I needed that your library didn't cover, namely Campaigns and Templates "namespaces".

So, I forked and added those elements. Its not full support for either, MailChimp offers a lot of options that I simply didn't need, but it sets the basics down and its working. Using my fork, you can list campaigns, pull unsubscribes, bounces, etc. You can create new campaigns and attach templates etc. All of that doesn't conflict with your work, and I have tried to follow your style as much as possible.

Second important change does touch your work. listBatchSubscribe only supported email out of the box. I needed to support my entire list of variables. So I created WithVars variants which allow you to provide the same Map for listBatchSubscribe as you could in updateMember. Its actually undocumented by MailChimp, but it works.

Please let me know if you have any questions. I might have another minor pull in a few months, but I wanted to get this up before I moved projects again.

This is my first pull request, so I am not sure what this looks like through the process, hopefully I don't create too much work. You will want to ignore the POM since I changed the name of your project, I will try to exclude it in the request.

Tim

knaak and others added 30 commits April 18, 2012 13:30
…justments to pom and the addition of

a new method templateAdd with supporting serialization classes.
added some test cases
removed unused templateId from createCampaign API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant