You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 27, 2024. It is now read-only.
This script will scan through all pages, chapters books and shelves via the API to generate a big tree structure list in plaintext.
4
+
5
+
**This is a very simplistic single-script-file example of using the endpoints API together**
6
+
, it is not a fully-featured & validated script, it error handling is very limited.
7
+
8
+
Keep in mind, The tree generated will reflect content visible to the API user used when running the script.
9
+
10
+
This script follows a `((Shelves > Books > (Chapters > Pages | Pages)) | Books)` structure so books and their contents may be repeated if on multiple shelves. Books not on any shelves will be shown at the end.
11
+
12
+
## Requirements
13
+
14
+
You will need php (~8.1+) installed on the machine you want to run this script on.
15
+
You will also need BookStack API credentials (TOKEN_ID & TOKEN_SECRET) at the ready.
16
+
17
+
## Running
18
+
19
+
```bash
20
+
# Downloading the script
21
+
# ALTERNATIVELY: Clone the project from GitHub and run locally.
0 commit comments