Skip to content

Repository files navigation

Wiki.Js Python client ( ⚠ WIP ⚠ )

Examples

  • Move all pages in a folder to a new folder

    fromwikijsimportWikiJsclient=WikiJs(<endpoint>, <api_key>)
    OLD_FOLDER='OldFolder/'NEW_FOLDER='NewFolder/'forpageinclient.search_pages('', OLD_FOLDER):
    new_path=page['path'].replace(OLD_FOLDER, NEW_FOLDER, 1)
    client.move_page(page['id'], new_path, page['locale'])

About

WikiJs Python API client

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Used by

Contributors

Languages