{"id":13580801,"url":"https://github.com/RaymiiOrg/confluence-python-cli","last_synced_at":"2025-04-06T02:32:49.963Z","repository":{"id":59861536,"uuid":"9729077","full_name":"RaymiiOrg/confluence-python-cli","owner":"RaymiiOrg","description":"A simple python script for interaction with a Atlassian Confluence Wiki","archived":true,"fork":false,"pushed_at":"2018-08-29T14:25:23.000Z","size":18,"stargazers_count":121,"open_issues_count":18,"forks_count":57,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-11-05T19:44:40.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RaymiiOrg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-28T11:11:40.000Z","updated_at":"2024-08-12T04:05:19.000Z","dependencies_parsed_at":"2022-09-23T17:50:49.776Z","dependency_job_id":null,"html_url":"https://github.com/RaymiiOrg/confluence-python-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaymiiOrg%2Fconfluence-python-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaymiiOrg%2Fconfluence-python-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaymiiOrg%2Fconfluence-python-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaymiiOrg%2Fconfluence-python-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaymiiOrg","download_url":"https://codeload.github.com/RaymiiOrg/confluence-python-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426527,"owners_count":20937140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:01:55.203Z","updated_at":"2025-04-06T02:32:49.732Z","avatar_url":"https://github.com/RaymiiOrg.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Confluence.py\n\nSimple python script to use a Atlassian Confluence Wiki via the CLI. \n\n## Usage\n    \n    $ python confluence.py --help                                                                                         \n    usage: confluence.py [-h] -w WIKIURL -u USERNAME -p PASSWORD\n                         {addpage,updatepage,listpages,removepage,getpagecontent,getpagesummary,listspaces,addspace,removespace,adduser,removeuser,deactivateuser,reactivateuser,changeuserpassword,addgroup,removegroup,listgroups,listusers,getallpages,addusertogroup,removeusergromgroup,listusergroups}\n                         ...\n    \n    Confluence wiki API\n    \n    positional arguments:\n      {addpage,updatepage,listpages,removepage,getpagecontent,getpagesummary,listspaces,addspace,removespace,adduser,removeuser,deactivateuser,reactivateuser,changeuserpassword,addgroup,removegroup,listgroups,listusers,getallpages,addusertogroup,removeusergromgroup,listusergroups}\n        addpage             Add a page\n        updatepage          Update a page\n        listpages           List pages in one or all spaces\n        removepage          Remove a page\n        getpagecontent      Get page content\n        getpagesummary      Get page summary\n        listspaces          List all spaces\n        addspace            Add a space\n        removespace         Remove a space\n        adduser             Add a user\n        removeuser          Remove a user\n        deactivateuser      Deactivate a user\n        reactivateuser      Reactivate a user\n        changeuserpassword  Change user password\n        addgroup            Add a goup\n        removegroup         Remove a goup\n        listgroups          List all goup\n        listusers           List all users\n        getallpages         Save all pages to local files.\n        addusertogroup      Add user to a group\n        removeusergromgroup\n                            Remove user from a group\n        listusergroups      List groups user is in\n    \n    optional arguments:\n      -h, --help            show this help message and exit\n      -w WIKIURL, --wikiurl WIKIURL\n                            Wiki URL (only FQDN, no / and such)\n      -u USERNAME, --username USERNAME\n                            Login Username\n      -p PASSWORD, --password PASSWORD\n                            Login Password\n\n\n\n## Examples\n\nAdd page:\n\n    $ ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" addpage -f ./content.txt -n \"CLI New Page\" -s \"RAY\"\n    http://wiki.raymii.org/display/RAY/CLI+New+Page\n\n\nRemove Page:\n\n    $ ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" removepage -n \"CLI New Page\" -s \"RAY\"\n\n\nUpdate Page:\n\n    $ ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" updatepage -f ./content.txt -n \"CLI New Page\" -s \"RAY\"\n    http://wiki.raymii.org/display/RAY/CLI+New+Page\n\nGet page content (HTML):\n\n    $ ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" getpagecontent -n \"CLI New Page\" -s \"RAY\"\n    \u003ch1\u003eTable of Contents\u003c/h1\u003e\n    \u003cp\u003e\u003cac:macro ac:name=\"toc\" /\u003e\u003c/p\u003e\n    \u003ch1\u003eInformation\u003c/h1\u003e\n\nAdd Space:\n\n    ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" addspace -n \"New Space\" -s \"NS\"\n\nRemove Space:\n\n    ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" removespace -s \"NS\"\n\nList all spaces:\n\n    $ ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" listspaces\n    NS, New Space, http://wiki.raymii.org/display/NS\n    ITS, IT Staff, http://wiki.raymii.org/display/ITS\n\n\nAdd user:\n\n    $ ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" adduser -U \"newuser\" -N \"New user\" -E \"newuser@raymii.org\" -X \"password\"\n\nRemove user:\n\n    $ ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" removeuser -U newuser\n\nDeactivate user:\n\n    $ ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" deactivateuser -U newuser\n\nReactivate user:\n\n    $ ./confluence.py --wikiurl=\"http://wiki.raymii.org\" -u \"api\" -p \"\" reactivateuser -U newuser\n\n\nFor more actions, run `./confluence.py -h` or see the usage section above.\n\n## More info\n\n[Raymii.org](https://raymii.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRaymiiOrg%2Fconfluence-python-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRaymiiOrg%2Fconfluence-python-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRaymiiOrg%2Fconfluence-python-cli/lists"}