Autocomplete integration for Notion game tracker
| Argument | Description | Default |
|---|---|---|
-h, --help |
Show help | False |
-l, --list-all |
Choose between all posibble matches | False |
-r, --replace |
Replace existing data for found fields | False |
-s, --show-untouched |
Also print message for entries that are not going to be updated | True |
-v, --verbose |
Show updated values | False |
-m MODE, --mode MODE |
watch: look for new entries to update in database ending in '#'one: update database entry with title [--title]all: update all |
watch |
-t TITLE, --title TITLE |
Title to find when using mode=one |
"" |
- Install dependencies
# if pip not installed sudo apt install python3-pip pip install -r requirements.txt - Add a new connection to the template and enable it.
- Get you IGDB credentials.
- Edit the file
.envwith your data:IGDB_ID="<YOUR_IGDB_ID>" IGDB_TOKEN="<YOUR_IGDB_TOKEN>" NOTION_DATABASE_ID="<YOUR_NOTION_DATABASE_ID>" NOTION_TOKEN="<YOUR_NOTION_TOKEN (starts with secret)>"
python3 gametracker.py -m watch