Importing a whole structure with Slite API

This guide shows you how to generate an entire structure of document inside your Slite using our  Slite API  and a simple Python script.

Slite-structure-generator.zip
5KB, Uploaded 12 hours ago

How to use



Step by step

    You will need Python installed on your computer
    Download the script above
    Open your terminal and navigate to the script folder
    Install the dependenciesRun the following command in the Terminal app: python3 -m pip install
    Run python3 index.py
    You'll be prompted to indicate
  • Your Slite API Key  see here on how to get one 
  • Your doc ID → The id of the parent doc. Head to this document and get the id in the settings or from the URL.
    Once done, sit back & relax