Get details of specific bank in Nigeria
Project description
📦 nigeria_banks
Nigeria Banks is a basic python package that returns details of particular bank in Nigeria.
Installation
You can install nigeria_banks from PyPI:
pip install nigeria_banks
Make API Request
https://nigeria-banks.onrender.com
How to use
$ from nigeria_banks.bank import getBank
# get bank details using ussd_code
get_bank = getBank(ussd_code="*945#")
# result = {'bank_code': '000017', 'cbn_code': '035', 'name': 'Wema Bank', 'bank_short_name': 'wema', 'ussd_code': '*945#', 'logo': 'localhost:8080/static/images/wema.png'}
# get bank details using bank_code
get_bank = getBank(bank_code="000017")
# result = {'bank_code': '000017', 'cbn_code': '035', 'name': 'Wema Bank', 'bank_short_name': 'wema', 'ussd_code': '*945#', 'logo': 'localhost:8080/static/images/wema.png'}
# get bank details using cbn_code
get_bank = getBank(cbn_code="035")
# result = {'bank_code': '000017', 'cbn_code': '035', 'name': 'Wema Bank', 'bank_short_name': 'wema', 'ussd_code': '*945#', 'logo': 'localhost:8080/static/images/wema.png'}
# get bank details using name
get_bank = getBank(name="wema")
# result = {'bank_code': '000017', 'cbn_code': '035', 'name': 'Wema Bank', 'bank_short_name': 'wema', 'ussd_code': '*945#', 'logo': 'localhost:8080/static/images/wema.png'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nigeria_banks-0.1.0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for nigeria_banks-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e97e1f7ea931f2312b90927502950c955adc684bbed0a1318af55f0e770a277 |
|
MD5 | e53e604e50dd18831548737513e67804 |
|
BLAKE2b-256 | 5ab13141c75e24a4a8682496310f2aa6c7fc7718e256c0be19cc71247138387a |