Skip to content
 
 

Repository files navigation

Confluence Python API

If you want to interfere with Confluence from Python, this is what you are looking for.

While this library is quite new it has the basic functionality for retrieving and storing pages in Confluence 3.x-5.x, hiding most API differences between these versions.

That's open source and I will welcome any contributions, including bug reports ;)

How to use it

You should read the documentation from pythonhosted.org/confluence/ or just look inside the source code as you may find some new features that are not yet documented.

from confluence import Confluence
conf = Confluence(profile='confluence')
conf.getPage("page","space")
conf.storePageContent("page","space","hello world!")

Also create a config.ini file like this and put it in current directory, user home directory or PYTHONPATH.

[confluence]
url=https://confluence.atlassian.com
# only the `url` is mandatory
user=...
pass=...

How to report bugs

Cheers, Sorin Sbarnea

About

Confluence Python API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages