Varia library working group XPPL. https://gitea.xpub.nl/XPUB/XPPL
Go to file
2018-05-23 14:18:38 +02:00
app cleanup 2018-05-23 14:18:38 +02:00
.gitignore cleanup 2018-05-23 14:18:38 +02:00
init_db.sh prototype 0.0.1 2018-05-20 00:10:01 +02:00
init.py prototype 0.0.1 2018-05-20 00:10:01 +02:00
README.md prototype 0.0.1 2018-05-20 00:10:01 +02:00
requirements.txt prototype 0.0.1 2018-05-20 00:10:01 +02:00
run.py prototype 0.0.1 2018-05-20 00:10:01 +02:00

XPUB Library

Library running on Flask and SQLight (maybe to be replaced with a python shelve)

requirements.txt $ pip3 install -r requirements.txt

initialise database $ bash init_db.sh

run script python3 run.py

API

has currently 2 entrypoints:

/api/books GETs all the books in the database

/api/book/id GETs a specific book by its id