Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harshoza36/ifscapi
A simple python library for getting bank details with address from IFSC code.
https://github.com/harshoza36/ifscapi
api-rest flask-restful ifsc-api python3 sqlite3
Last synced: about 2 months ago
JSON representation
A simple python library for getting bank details with address from IFSC code.
- Host: GitHub
- URL: https://github.com/harshoza36/ifscapi
- Owner: HarshOza36
- License: mit
- Created: 2020-07-02T08:28:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T21:24:35.000Z (12 months ago)
- Last Synced: 2024-10-11T17:49:41.163Z (3 months ago)
- Topics: api-rest, flask-restful, ifsc-api, python3, sqlite3
- Language: Python
- Homepage:
- Size: 3.71 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ifsc_api
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![Python package](https://github.com/HarshOza36/ifsc_api/workflows/Python%20package/badge.svg)
![Python application](https://github.com/HarshOza36/ifsc_api/workflows/Python%20application/badge.svg)# Documentation
IFSC API was build to get details of ```BANK``` and the ```ADDRESS OF THE BANK``` from the IFSC CODE quickly.
This library was build specially for Arihant Capital Markets Ltd.
# Installation:
```pip install git+https://github.com/HarshOza36/ifsc_api.git```OR
```pip install ifscApi```
# USAGE:
IFSC_API
--------- To use the package in User Interface @ ```localhost``` (with caution), simply do::
You can also just use the api without User Interface @ ```localhost/ifsc``` which is a RestFul Api.
```python
>>> from ifscApi import app
>>> app.runServer()
```- To just use it normally(with caution), simply do::
```python
>>> from ifscApi.getDetails import FetchData
>>> parser = FetchData() # Create a parser
>>> ifsc = 'ANY_CODE_HERE'
>>> result = parser.getdata(ifsc)
>>> print(result)
```
Note : The getdata function has parameter dbFilePath which can be overwritten with your own IFSC code Db which should have Table name ```data``` and three columns ```ifsc,bank,address```- To just use it As AWS LAMBDA compatible Function(with caution), simply do::
```python
>>> from ifscApi.getDetailsLambda import FetchData
>>> parser = FetchData() # Create a parser
>>> ifsc = 'ANY_CODE_HERE'
>>> result = parser.getdata(ifsc)
>>> print(result)
```
Note : The getdata function has parameter dbFilePath which can be overwritten with your own IFSC code Db which should have Table name ```data``` and three columns ```ifsc,bank,address```