How do I best start accessing Confluence API using python?

Help!

If I want to be able to publish and updates pages in my company’s data center confluence server using python, where do I even start? There seem to be two completely different ways to access confluence…

I would be really grateful for recommended way to access confluence using python, and where to find starting examples of creating, updating or deleting a page, because nothing I’ve tried seem to work.

Kind regards,
Goran

Hi,
You will want to start by thoroughly reviewing the Confluence REST API documentation…This would help you understand available methods such as creating, updating, or deleting pages.
Also consider using a tool like Postman to test these endpoints first. After familiarizing yourself with the API, try out the Atlassian Python API module for Confluence…

FYI look into methods like confluence.get_page_properties(page_id) etc etc…

1 Like