Hi
I am trying to get table data from a Confluence cloud page to Python. The table on the page is generated by a ‘Page Properties Report’ macro.
I have tried using the Python code below. However, the received HTML code does not contain the table data. Do I have to use another expansion than body.view?
from atlassian import Confluence
username = 'zzzzz'
API_token = 'qqqqqq'
confluenceBaseUrl = 'https://xxxxxxx.atlassian.net/wiki/'
page_id = 'yyyyyyy'
conf = Confluence(url=confluenceBaseUrl, username=username, password=API_token)
page = conf.get_page_by_id(page_id, expand='body.view')
page_content = page['body']['view']['value']