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 hashes)
Built Distribution
Close
Hashes for wikijs-0.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45ca3df83126b99d851941fbfad7d4ad892e0952b95071f548ea41315c5e8a7c |
|
MD5 | 73377122a484b819168573d61b1b825e |
|
BLAKE2b-256 | ca9f50ecb9d6860dc3bc44fe74c2324d93f6280a6de16e036cca137d287162fe |