blokdata/README.md
2020-05-13 02:51:34 +02:00

708 B

Blokdata

Create blokmap data from a Google sheet.

Installation

  1. Setup python
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
  1. Setup config.ini as follows
[Google]

SHEET_ID = #FILLMEIN
RANGE_NAME = #METOO
  1. Request a Google service account

  2. Store the service account's key as service_account.json

  3. Give the service account's email (read) access to the sheet

  4. python app.py

TODO

  • Code cleanup: separate files
  • Database caching: don't re-request google sheet data every time
  • Error handling: it shouldn't ever crash on user input