Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bank names return a list of obsolete names #113

Open
pokoli opened this issue Oct 10, 2022 · 0 comments
Open

Bank names return a list of obsolete names #113

pokoli opened this issue Oct 10, 2022 · 0 comments

Comments

@pokoli
Copy link

pokoli commented Oct 10, 2022

In the following example:

>>> from schwifty import BIC, IBAN
>>> bic = BIC('BSABESBB')
>>> bic.bank_names
['ABBEY NATIONAL BANK, S.A.E.', 'ACTIVOBANK, S.A.', 'BANCO ATLANTICO, S.A.', 'BANCO CAM, S.A.', 'BANCO DE ASTURIAS, S.A.', 'BANCO DE SABADELL, S.A.', 'BANCO GALLEGO, S.A.', 'BANCO GUIPUZCOANO, S.A.', 'BANCO HERRERO, S.A.', 'BANCO SANPAOLO, S.A.', 'BANCO URQUIJO SABADELL BANCA PRIVADA, S.A.', 'BANCO URQUIJO, S.A.', 'CAJA DE AHORROS PROVINCIAL DE ALICANTE', 'CAJA DE AHORROS PROVINCIAL DE ALICANTE Y VALENCIA', 'CAJA DE AHORROS PROVINCIAL DE VALENCIA', 'CAJA GRAL.DE AHORROS Y MONTE DE PIEDAD DE TORRENT', 'LLOYDS BANK INTERNATIONAL, S.A.', 'LLOYDS TSB BANK PLC, S.E.', 'SABADELL SOLBANK, S.A.', 'SOLBANK SBD, S.A.']

The list of bank names is all the names that had been adquired by BANK SABADELL. For example. Banco adlantico, and also Banco gallego

Can we have some API to return the main bank name associated to a bic? Another option is to just return the names sorted by currenct activity. Normally it should be only one active bank associated to a bic.

Our use case is that given an IBAN number we are guessing the bank name using the BIC code. But in such case an algorithm can not pick the best name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant