FEA-Bench / testbed /atlassian-api__atlassian-python-api /examples /confluence /confluence_page_create.py
Download testbed/atlassian-api__atlassian-python-api/examples/confluence/confluence_page_create.py from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 252 Bytes
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/atlassian-api__atlassian-python-api/examples/confluence/confluence_page_create.py
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/atlassian-api__atlassian-python-api/examples/confluence/confluence_page_create.py
-
curl -L -o confluence_page_create.py https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/atlassian-api__atlassian-python-api/examples/confluence/confluence_page_create.py
252 Bytes
| # coding=utf-8 | |
| from atlassian import Confluence | |
| confluence = Confluence(url="http://localhost:8090", username="admin", password="admin") | |
| status = confluence.create_page(space="DEMO", title="This is the title", body="This is the body") | |
| print(status) | |