Skip to content

Update gold selling price from https://treasury.id (via websocket) to firefly-iii self-hosted server (https://firefly-iii.org) based how much grams you have

License

Notifications You must be signed in to change notification settings

mansuf/firefly_iii-treasury.id-update

Repository files navigation

firefly_iii-treasury.id-update

Update gold price from https://treasury.id (via websocket) to firefly-iii (https://firefly-iii.org) based how much grams you have

Installation

Via PyPI

pip install firefly_iii-treasury.id-update

Via Docker

docker pull mansuf/firefly_iii-treasury.id-update

Usage

NOTE: While this app provide CLI arguments that you can use, it's highly recommended to use environments instead

Docker usage

# With environments
docker run --rm --env-file .env mansuf/firefly_iii-treasury.id-update

# With CLI arguments
docker run --rm mansuf/firefly_iii-treasury.id-update --api-key "firefly-iii api key" --transaction-id "firefly-iii transaction id" --url "firefly-iii base url" --grams-gold "3"

PyPI usage

# With environments 
firefly-iii-treasury-update --load-dotenv

# With CLI arguments
firefly-iii-treasury-update --api-key "firefly-iii api key" --transaction-id "firefly-iii transaction id" --url "firefly-iii base url" --grams-gold "3"

# If you having encountering error "firefly-iii-treasury-update" command not found
# you can do this instead

# For Windows
py -3 -m firefly_iii_treasury_id_update --load-dotenv .env

# For Linux / Mac OS
python3 -m firefly_iii_treasury_id_update --load-dotenv

About

Update gold selling price from https://treasury.id (via websocket) to firefly-iii self-hosted server (https://firefly-iii.org) based how much grams you have

Resources

License

Stars

Watchers

Forks

Packages

No packages published