Welcome folks today in this blog post we will be fetching bank details
using ifsc code in python using ifscapi
module. All the full source code of the application is shown below.
Get Started
In order to get started you need to install the following library using the pip
command as shown below
pip install ifscapi
After installing this library make an app.py
file and copy paste the following code
app.py
1 2 3 4 5 6 7 8 9 10 11 |
# Import required module from ifscApi.getDetails import FetchData # Assign IFSC code ifsc = 'KKBK0005652' # Parse the ifsc code data = FetchData().getdata(ifsc) # Display details print(data) |
Now in the above python
script you need to replace the ifsc
code of your bank to get the details. Now if you run the python script app.py
by typing the below command
python app.py
Now you can see that it returns the bank information in the form of json
response