Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

firefly_iii_treasury_id_update-0.1.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page