Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.3 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.3 KB

Vysacharity

Automatically add a book for sale to https://vysacharity.theshop.jp

Setup and run

It is recommended to create a virtual environment and install requirements first:

python -m venv venv
pip install -r requirements.txt

Then run the program with:

python main.py books add

For the very first run, you will be prompted to add some credentials:

Then, you will be prompted again to add input. The program will open your default text editor and ask you to put in a list of book isbn and id pairs. For example:

978-604-1-13690-8,KNS183
4534054696,KT116
978-0804136662,TH223
234234234234,TH8888

The program will go through the books one by one. In the end, if there are unprocessed books because of errors, their id will be returned.