title: Calendar info using confluence API
body: <p>I have a Confluence page which has a Calendar inside it (please check photo below).
  <a href="https://i.stack.imgur.com/8X3jf.png" rel="nofollow noreferrer">Calendar</a>
   I am trying to pull information from this calendar, like how many events in each day. nothing more.</p>
  
  <p>i used a code from stackoverflow that reads Confluence page using API. but the json response does not contain any data about the calendar inside the page.</p>
  
  <pre><code>`import requests
  import json
  from requests.auth import HTTPDigestAuth
  confluence_host = "https://confluence.tools.mycompany.com"
  url = confluence_host + '/rest/api/content/'
  page_id = "36013799"
  page = requests.get(url=url + page_id,
                         params={'expand': 'body.storage'},
                     auth=('my_user', 'my_password') ).json()`
  </code></pre>
  
  <p>Even if i write,  html = page['body']['storage']['value'] and check its output, it only gives this:</p>
  
  <blockquote>
    <p>name="calendar" ac:schema-version="1" ac:macro-id="99a26d73-abaa-45a1-92cc-0edafec567f5">72da4ae5-4888-46dd-9078-0299b51ab815,743a55b4-7b3b-4e00-b102-90d95916de8d</p></p>
  </blockquote>
  
  <p>Is there any way to get the calendar info ?</p>
  
  <p>Thanks</p>