A collection of German Bank Data including BIC, Bankcodes, PAN and more useful information based on the Bundesbank Data Set
Current Data Set is Valid until March, 3rd 2021
The package can be installed
by adding bundesbank
to your list of dependencies in mix.exs
:
def deps do
[
{:bundesbank, "~> 0.3.0"}
]
end
run mix deps.get
Get all banks from the collection
banks = Bundesbank.all
Enum.count(banks)
# 15788
Filter banks by a given key.
[
:code,
:property,
:description,
:postal_code,
:city,
:bank_name,
:pan,
:bic,
:mark_of_conformity,
:record_number,
:change_code,
:delete_code,
:emulation_code
]
bank = Bundesbank.filter_by(:code, "20050000")
# [%Bundesbank.Bank{bank_name: "Hamburg Commercial Bank", bic: "HSHNDEHHXXX", change_code: "U", ...
banks = Bundesbank.filter_by(:city, "Berlin")
# [%Bundesbank.Bank{bank_name: "BBk Berlin", bic: "MARKDEF1100", change_code: "U", ...
Enum.count(banks)
# 101
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am "Add some feature")
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request