Skip to main content

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 Cbn Bankss from PyPI:

pip install nigeria_banks

How to use

$ from nigeria_banks import bank
    # 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', 'disabled_for_vnuban': 'None', 'ussd_code': '*945#'}

    # 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', 'disabled_for_vnuban': 'None', 'ussd_code': '*945#'}

    # 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', 'disabled_for_vnuban': 'None', 'ussd_code': '*945#'}

    # get bank details using name
    get_bank = getBank(name="wema")
    # result = {'bank_code': '000017', 'cbn_code': '035', 'name': 'Wema Bank', 'bank_short_name': 'wema', 'disabled_for_vnuban': 'None', 'ussd_code': '*945#'}

Project details


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.0.6.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

nigeria_banks-0.0.6-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page