Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python Implementation for Lightweight Zero dependency npm package to get list of banks in Nigeria (Recognized by CBN)

Project description

NG_BANKS

Python implementation of ng-banks.

INSTALLATION

The package is available on Pypi for installation. To install simply run the command in your terminal

pip install ng_banks

The package contains two methods:

  • getBanks(): this method is used to retrieve all the banks in the system.

  • getBank(slugOrCode): this method is used to retrieve a particular based on the parameter supplied. The parameter can either the be the slug of the bank or the bank code. For slugs or code that don't exist, this method returns None.

USAGE

>>> from ng_banks import getBank, getBanks

>>> getBanks() # should print an array of banks

>>> getBank('GTB') # returns {'name': 'GUARANTY TRUST BANK PLC', 'code': '058', 'slug': 'GTB' }

>>> getBank('044') # returns {'name': 'ACCESS BANK PLC', 'code': '044', 'slug': 'ACC' },

CONTRIBUTORS

This package is authored by Bolaji Olajide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ng-banks, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ng_banks-1.0.1-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ng_banks-1.0.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page