From fb3cb20cfbf8f4ce297f77cb7d46172e92205a3f Mon Sep 17 00:00:00 2001 From: David Ashby Date: Wed, 17 May 2017 20:38:57 -0400 Subject: [PATCH] readme --- readme.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..404287a --- /dev/null +++ b/readme.md @@ -0,0 +1,28 @@ +# library + +set `publicSpreadsheetUrl` in `index.html` to set a sheet + +expects the following columns, but easily updated: + +* title +* author +* authorLast (used for sorting) +* isbn-10 (not displayed) +* isbn-13 +* format +* genre +* publisher +* series +* volume +* year +* coverurl +* description +* notes +* signed (`yes` or blank) + +## adding books using the google books API + +1. update `SHEET_ID` and `SHEET_NAME` in `index.js`. +2. follow the instructions at , and save the resulting json file to `.credentials/client_secret.json`. +3. run `npm install`. +4. run `npm start`.