title: MailChimp API | Python Shell | Get the list of user activity with openDate, clickDate and user email
body: <p>I am very beginner with Python as well as with Mailchimp API, so I desperately need your advice. </p>
  
  <p>My ambition is to get the campaign report from the MailChimp that will contain the data in the format:</p>
  
  <p>Email ----- email openDate ----- clicked (True/False) ----- clickDate</p>
  
  <p>So far I was able to write the following code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>list_campaigns = client.campaigns.all(get_all=True)
  
  
  for line in list_campaigns['campaigns']:
   campaign_list_name = line['recipients']['list_name']
   campaign_list_id = line['recipients']['list_id']
   print(campaign_list_id, campaign_list_name)</code></pre>
  </div>
  </div>
  </p>
  
  <p>That provides me with the list of campaign and IDs. However, campaign-based reports are giving me general information on the campaign performance (e.g. number of users opened, number of clicks), and I was unable to get anything on a granular level.</p>
  
  <p>Is it ever possible and if so, what might be the algorithm for the solution?</p>
  
  <p>p.s. <a href="https://github.com/charlesthk/python-mailchimp" rel="nofollow noreferrer">here's</a> the library I've used for Python.</p>
  
  <p>Thank you!</p>