21 lines
749 B
TOML
21 lines
749 B
TOML
[grocy]
|
|
url = "https://grocy.example.com/"
|
|
api_key = "replace-with-your-key"
|
|
|
|
[import]
|
|
# Used only for newly created products. Existing products keep their location.
|
|
location = "Ocado imports"
|
|
quantity_unit = "Pack"
|
|
# Default journal: ~/.local/state/ocado-grocy/imports.sqlite3 (XDG_STATE_HOME supported).
|
|
# Keep this journal to prevent duplicate imports. Optional override:
|
|
# state_file = "/absolute/path/to/imports.sqlite3"
|
|
|
|
# Optional: map an Ocado retailer product ID (or exact receipt name if no ID)
|
|
# to an existing Grocy product. Stock units per purchased pack can be overridden.
|
|
# [products."72496011"]
|
|
# product_id = 123
|
|
# stock_per_purchase = 3
|
|
|
|
[openfoodfacts]
|
|
# Identifies the application to Open Food Facts.
|
|
contact = "you@example.com"
|