WikiJs API client
Project description
Wiki.Js Python client ( ⚠ WIP ⚠ )
Examples
-
Move all pages in a folder to a new folder
from wikijs import WikiJs client = WikiJs(<endpoint>, <api_key>) OLD_FOLDER = 'OldFolder/' NEW_FOLDER = 'NewFolder/' for page in client.search_pages('', OLD_FOLDER): new_path = page['path'].replace(OLD_FOLDER, NEW_FOLDER, 1) client.move_page(page['id'], new_path, page['locale'])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wikijs-0.1.dev1.tar.gz
(8.0 kB
view details)
Built Distribution
File details
Details for the file wikijs-0.1.dev1.tar.gz
.
File metadata
- Download URL: wikijs-0.1.dev1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eac8977ecf4e9378bad3071889698fde11a193bc82e74c8b9a8a1b4693964231 |
|
MD5 | 89f6fa1a4f899e8ebded206b79e53e7e |
|
BLAKE2b-256 | f3665484a755519d0412002c8ec5d09e08e8cab3d55fde6b614b814f4dd2038d |
Provenance
File details
Details for the file wikijs-0.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: wikijs-0.1.dev1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45ca3df83126b99d851941fbfad7d4ad892e0952b95071f548ea41315c5e8a7c |
|
MD5 | 73377122a484b819168573d61b1b825e |
|
BLAKE2b-256 | ca9f50ecb9d6860dc3bc44fe74c2324d93f6280a6de16e036cca137d287162fe |