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 details)

Uploaded Source

Built Distribution

File details

Details for the file firefly_iii_treasury_id_update-0.1.0.tar.gz.

File metadata

File hashes

Hashes for firefly_iii_treasury_id_update-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e99c9d710282b3cf814656a5b6f516aef414ebc9d91419733c65968b426753c8
MD5 c15915f97afc522412693fd15234ee15
BLAKE2b-256 c5228286e09aac2cd7083ed1660af6ec98b4b8869541ad6760f0f1d2c4f323f6

See more details on using hashes here.

Provenance

File details

Details for the file firefly_iii_treasury.id_update-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for firefly_iii_treasury.id_update-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cde49e88522b33c06318af84206a684b8ca7c780dbf27c666161406f4c1ad79a
MD5 db69a347a68c01a3e6dd52ffbbf04c7f
BLAKE2b-256 eb262d9880d8f4994fad8b9ae315a37e93a7bed238b20cd714a9a4a86c850b31

See more details on using hashes here.

Provenance

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