A tool to retrieve bank transactions from GoCardless and store them in Firefly III.
Go to file
Jacob Kiers f0b8df90b9 Initial commit
This is definitely not functional yet.

Signed-off-by: Jacob Kiers <code@kiers.eu>
2024-10-04 20:31:39 +02:00
bank2ff Initial commit 2024-10-04 20:31:39 +02:00
firefly-iii-api Initial commit 2024-10-04 20:31:39 +02:00
gocardless-bankaccount-data-api Initial commit 2024-10-04 20:31:39 +02:00
.gitignore Initial commit 2024-10-04 20:31:39 +02:00
Cargo.lock Initial commit 2024-10-04 20:31:39 +02:00
Cargo.toml Initial commit 2024-10-04 20:31:39 +02:00
env.example Initial commit 2024-10-04 20:31:39 +02:00
gocardless_bank_account_data_api_v2.json Initial commit 2024-10-04 20:31:39 +02:00
README.md Initial commit 2024-10-04 20:31:39 +02:00

Bank2FF

Bank2FF is a tool that can retrieve bank transactions from Gocardless and add them to Firefly III.

It contains autogenerated APIs for both Firefly III and for the Gocardless Bank Account Data API.

Usage

TBD

Generating the API clients

These API clients are generated with the OpenAPI Generators for Rust.

These need Podman installed, and assume this command is run from the same directory where this README.md file is located.

For Gocardless:

podman run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate -g rust -o /local/gocardless-bankaccount-data-api -i 'https://bankaccountdata.gocardless.com/api/v2/swagger.json' --additional-properties=library=reqwest,packageName=gocardless-bankaccount-data-api,packageVersion=2.0.0,supportMiddleware=true,avoidBoxedModels=true

For Firefly III:

If necessary, change the URL to the definition. If that is a new version, then also change the packageVersion parameter.

podman run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate -g rust -o /local/firefly-iii-api -i 'https://api-docs.firefly-iii.org/firefly-iii-2.1.0-v1.yaml' --additional-properties=library=reqwest,packageName=firefly-iii-api,packageVersion=2.1.0,supportMiddleware=true,avoidBoxedModels=true