blokdata/README.md
Robbe Van Herck da1ba3cfd5 Minor cleanup
2020-05-13 15:42:14 +02:00

712 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 src/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