fints-institute-db-0.2.5 doesn't have any documentation.
fints-institute-db
This is a simple crate providing a convenient and safe interface to FinTS information of German banks. During the build it will download a CSV file with all the banks which it will then put into the library itself so that no extra files have to be taken care of.
Usage
Put this into your Cargo.toml
:
[dependencies]
fints_institute_db = "0.2"
Then to use it:
use get_bank_by_bank_code;
let bank = get_bank_by_bank_code;
println!;
Command line utility
Additionally this crate includes a CLI tool for your convenience:
fints-institute-db 0.2.5
Sven-Hendrik Haase <svenstaro@gmail.com>
Tool to query the FinTS database.
By default it will return just the FinTS URL for the first matching bank.
USAGE:
cli [FLAGS] [OPTIONS] <--iban <iban>|--bankcode <bank_code>>
FLAGS:
-a, --all Print all banks as opposed to just the first matching one (implies --json)
-h, --help Prints help information
-j, --json Change tool behavior to output all data for the record as JSON
-V, --version Prints version information
OPTIONS:
-b, --bankcode <bank_code> Look up bank by German bank code (format: 12030000)
-i, --iban <iban> Look up bank by IBAN (format: DE02120300000000202051)
Example usages:
cargo run -- -b 12030000
cargo run -- -i DE02120300000000202051
This crate is inspired by https://github.com/jhermsmeier/fints-institute-db and https://github.com/dr-duplo/python-fints-url
Releasing
This is mostly a note for me on how to release this thing:
- Update version in Cargo.toml.
- git commit and git tag -s, git push.
- cargo publish