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': 'https://nigeria-banks.onrender.com/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': 'https://nigeria-banks.onrender.com/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': 'https://nigeria-banks.onrender.com/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': 'https://nigeria-banks.onrender.com/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.7.tar.gz
(10.1 kB
view details)
Built Distribution
File details
Details for the file nigeria_banks-0.1.7.tar.gz
.
File metadata
- Download URL: nigeria_banks-0.1.7.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be478db5b50a01f7baf6e6d786b0feec773ac3c41d5c02cd1afb67e693912861 |
|
MD5 | edc28627651d7318ca8d27c85dae10de |
|
BLAKE2b-256 | 9578f76afdb0d0ec55a74268baebde71b7a8b6c33db5f984250918687f0506e1 |
File details
Details for the file nigeria_banks-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: nigeria_banks-0.1.7-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f8ceeef0c978932daba1b505ffb79fe51b0ad6024ddf3ce8779ac3a62d919da |
|
MD5 | c7f0157652547d10d9255032f0d44cdf |
|
BLAKE2b-256 | 4a1317205873993266671c7c04c2f8c9d1774acfd520d9bb57a2192b2b824bff |