No description
src | ||
.gitignore | ||
README.md | ||
requirements.txt |
Blokdata
Create blokmap data from a Google sheet.
Installation
- Setup python
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
- Setup
config.ini
as follows
[Google]
SHEET_ID = #FILLMEIN
RANGE_NAME = #METOO
-
Store the service account's key as
service_account.json
-
Give the service account's email (read) access to the sheet
-
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