Skip to main content

This package will provide access to Atlassian Confluence REST APIs

Project description

Project description

confluence-cloud-ashwani confluence-cloud-ashwani is an API wrapper for Atlassian Confluence written in Python


pip install confluence-cloud-python


Client instantiation

from sigconfluence.client import Client

client = Client('CLIENT_ID', 'CLIENT_SECRET')

OAuth 2.0 (3LO)

For more information:

Direct the user to the authorization URL to get an authorization code

A refresh token can be returned with the access token in your initial authorization flow. To do this, add the offline_access scope to the scope parameter of the authorization URL.

scope_list = ['read:confluence-space.summary', 'offline_access','read:confluence-props','read:confluence-content.all', 'read:confluence-content.summary', 'search:confluence']

url = client.authorization_url('REDIRECT_URI', scope_list, 'STATE')

Exchange authorization code for access token

response = client.exchange_code('REDIRECT_URI', 'CODE')

Set access token in the library


Get the cloudid for your site

response = client.get_resource_list()

Set cloudid in the library


Refresh token

response = client.refresh_token('REFRESH_TOKEN')

Find all the Confluence Spaces

spaces = client.spaces.get_spaces()

Find all the contents

start = 0
limit = 100
contents_data = client.contents.get_contents(''+str(limit)+'&start='+str(start))

print contents

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for confluence-cloud-python, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size confluence_cloud_python-1.1.2-py3-none-any.whl (9.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size confluence-cloud-python-1.1.2.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page