Adding subscribers to an email newsletter
A common marketing tool is email newsletters. They are convenient ways of sending information to multiple targets. A good newsletter system is difficult to implement, and the recommended way is to use ones available on the market. A well-known one is MailChimp (https://mailchimp.com/).
MailChimp has a lot of possibilities, but the interesting one in regard to this book is its API, which can be scripted to automate tools. This RESTful API can be accessed through Python. In this recipe, we will see how to add more subscribers to an existing list.
Getting ready
As we will use MailChimp, we need to have an account with them. You can create a free account at https://login.mailchimp.com/signup/.
After creating the account, be sure to at least have a list that we can add subscribers to. As part of the registration process, it may have been created for you. It will appear under Audience -> Manage Audience -> View Audience:
...